我在Tableau中有以下计算字段:
[Nb of articles]/TOTAL(COUNT([Post reach]))
但是我希望我的总数只能按周计算。
希望我明白。
谢谢!
答案 0 :(得分:0)
我找到了答案on the community of Tableau users:
1. Select the measure second time (Row/Column shelf)
2. Click on this second selected measure in the row shelf (or column where its kept)
3. Move to the "Quick Table Calculation" in the drop down menu which appeared
4. Select "Percentage of Total" from the sub menu (This should add a second chart with percentages)
5. Now, drag and drop the measure to Label (second chart would disappear as measure is moved to label mark)
很简单! :)