It's definetly my favourite DataViz tool ever.
But after a while, when you begin to elevate your game, you may find some difficulties if you don't spend some time understanding how Tableau works, even with simple tasks.
I remember my first impasse when I had to calculate percent of total while filtering the same dimension, with a sample data like this:
Color Value
Blue 30
Red 20
Green 40
Yellow 10
After having added Table Calculation on Value using "Percent of Total" I simply added Color on the filter shelf and selecting Green I thought I would have got 40%.
Surprisngly (for me back then, not now), I got 100%.
Why? I couldn't undesrtand how it could happen.
So I started spending some time studying Tableau and I realized of it works in terms of order of operations.
Since Percent of Total is a Table Calculation, it is executed after dimension filters (eg: selecting one of the 4 colors).
So my table calculation was working on pre-filtered data with just a color selected and 100% value was correct (40 out of 40).
To by-pass this, you just need to create a Calculated Field using a Table Calculation based on the dimension you want to filter.
With this little trick, your filter will be executed after the Percent of Total Calculus and selecting Green you'll get the 40% I was looking for back then.
If you don't trust my words (you erethic!), take a look at this simple dashboard I realized just for you.
At the end of the day, my suggestion is to study how Tableau works from the early beginning because you will save time doing you vizzes and you'll understand how powerful it could be.
That is very interesting; you are a very skilled blogger. I have shared your website in my social networks! A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article.
RispondiEliminaTableau Online Training|
SAS Online Training |
R Programming Online Training|
I'm really glad you found this post interesting.
EliminaThanks a lot, I really appreciate.
This concept is a good way to enhance the knowledge.thanks for sharing. please keep it up.share more realated details.
RispondiEliminaC and C++ Training Institute in chennai | C and C++ Training Institute in anna nagar | C and C++ Training Institute in omr | C and C++ Training Institute in porur | C and C++ Training Institute in tambaram | C and C++ Training Institute in velachery
Your article is very useful information. A very nice guide. I will definitely follow these tips.
RispondiEliminaThank you for sharing such detailed article.
python training in chennai
python online training in chennai
python training in bangalore
python training in hyderabad
python online training
python flask training
python flask online training
python training in coimbatore