Totals are not working when applying table calculations.
I have a required to show Top N, based on the parameter selection. And also in my original dashboard i have few measures CM, PM, CY , PY, variance. Sorting should be done based on the measure.
Please find the attached file. i have created sample problem.
Appreciate any help.
Sorry - this is the article https://jimdehner.com/2022/01/11/table-calculations-when-where-and-how/ - it explains that you have a table calculation that is used to find the top N -you can not use grand total to get the total of just the N values so you will need to use another table calculation to total those top N values -
this is the link to the workbook https://public.tableau.com/app/profile/jim.dehner/viz/TablecalculationsWhereWhenandHow/Leadslide
you want to use this tab
Give it a try