Damn, Row and column calculation with drag is lit 🔥
@havefundrawing4 жыл бұрын
This is life changing!
@peterparker43584 жыл бұрын
Nice one Andy❤️ learned many things from.you..thank you so much
@huytruong20263 жыл бұрын
Hi Andy, could you explain the math behind the columns and rows calculations? Why does writing the formulas that way give a square with optimal grids? Could you point me to some videos/resources that explain the calculations? Thanks.
@tresmetrossinwetsuit3 жыл бұрын
How do you add the names for each quadrant?
@TheRaju9912 жыл бұрын
Thank you for this nice hack!
@vizwiz2 жыл бұрын
You're welcome!
@perryliu65733 жыл бұрын
Great Coach!
@vizwiz3 жыл бұрын
Appreciate it!
@daGroove7754 жыл бұрын
Is there a way to give each line a nice label without using a second axis?
@vizwiz4 жыл бұрын
That’s the tough bit. I haven’t found an elegant method to do it which is why I always use a secondary axis.
@daGroove7754 жыл бұрын
Thank you for this great video, I finally learned what I did wrong! Five minutes ago I ordered your book in Amazon, since I am a big fan of your work! Thank you for sharing your knowledge!
@vizwiz4 жыл бұрын
@@daGroove775 Thank you!!! It's very much appreciated.
@joo61102 жыл бұрын
@@daGroove775 What was the solution for your label approach? I am trying to have my report have each label centered over each quadrant.
@EdvardStepancukkr2 жыл бұрын
@@joo6110 Hi. Probably very late but I solved it through formula. Let' s say we have data from 2010 to 2020. Then ideally text would be centered at the year 2015. So I created field such as - IF str([Year (Date)]) = '2015-01-01' THEN [Year] END. Let's call it centered label field. Basically for each observation that is in 2015, you would receive 2015 as output and Null otherwise. Then you put this centered label field and your actual label field (f.e state or country name) onto label of your secondary axis. Choose Min/Max, Cell as scope and YEAR(Centered Label) as your field. Voulla, you will your labels right in the middle :)
@MarcAlexander74501 Жыл бұрын
Andy, You trellis on a Dimension. Is it possible to trellis on [Measure Names] so each small multiple is a Measure? I tried your methodology and it didn't work b/c [Measure Names] isn't recognized as an option in the Table Calculation Specific Dimension list. Do you think this is possible? If so, it would be a really cool, powerful, and elegant way to build out a trellis of KPI BANs.
@vizwiz Жыл бұрын
No you can’t because measure names isn’t a field in the data. It’s more like a placeholder. Measure names and measure values can’t be used in calculations.
@huytruong20263 жыл бұрын
Hi Andy, could you please explain again why we need to change the custom date field to ATTR? Thanks!
@vizwiz3 жыл бұрын
The ATTR makes it an aggregation. If I don't do that, then the line would be a series of dots because the view would split up by each date.
@joo61102 жыл бұрын
Is there a way to fit a centered label? Formatting is everything these days haha
@vizwiz2 жыл бұрын
The only way you can get it exactly in the middle is if you have an odd number of dates. Then you'd have to write a calc to find the one in the middle and display the label there. If there is an even number of dates, then it will always be slightly off center.
@michelnahon4 жыл бұрын
This hack for "trellis chart" is really slick. It's amazing how you can keep impressing me with your videos. I'm surprised Tableau didn't add this "Trellis chart" functionality yet. The second hack around filling up empty dates with an attribute is great too. Does it work only with dates? or any dimensions? Can we use this to add 0 in a table when there are missing values? Thanks so much again for sharing your knowledge
@vizwiz4 жыл бұрын
I've only been able to make it work with dates. In the second example, you saw how I had to convert the year to a date. I had to do this because Tableau "knows" how to fill in dates that don't exists between marks. I have not been able to get it to work with any other dimensions for this reason. For dates, you CAN show 0 for missing values. Add ZN() around your measures, e.g., ZN(SUM[Sales]) and then turn on the Show Missing Values option on the date field. I can create a quick video if you like.
@vizwiz4 жыл бұрын
Here's a video for you Michel - kzbin.info/www/bejne/a5DQhpWKZsmLidU
@michelnahon4 жыл бұрын
@@vizwiz Correct I've been using the Zn() function and also made sure to use "else 0" in my if statement. Filling the dates is a nice trick. Thanks for sharing. If I understand correctly this doesn't work for other dimension, correct? Alternatively, in SQL I can use a full join to make sure all possibilities are there based on the various dimensions. But it's a pain and the data set becomes humongous.
@vizwiz4 жыл бұрын
@@michelnahon I haven’t seen a way to do it for other dimensions without some crazy table calcs.
@michelnahon4 жыл бұрын
@@vizwiz One would think it can be done since SQL allows to build it. But not sure there is an easy solution out of the box unfortunately