Forum Discussion
Filter a graph without changing grand total value
- 5 years ago
Finnaly found with this formula
% of Grand Total = DIVIDE ( SUM ( Table1[Values] ), CALCULATE ( SUM ( 'Table1'[Values] ), ALL ( 'Table1'[brands] ) ) )
Hi likmalik ,
Can you share the formula where you are calculating the %'s. I will help you update it as per your requirement.
Regards,
Veena Shenolikar
- likmalik5 years agoHelper I
Hello veenashenolikar, thankyou ! Here is my measure and then I just show it as %of grand total with right click:
My Measure = CALCULATE(SUM(Sheet1[Column]), DATESBETWEEN(Sheet1[Date], DATE(2020,01,01),DATE(2020,12,31)))- amitchandak5 years agoSuper User
likmalik , Try a % measure like
My Measure = divide(My Measure = CALCULATE(SUM(Sheet1[Column]), DATESBETWEEN(Sheet1[Date], DATE(2020,01,01),DATE(2020,12,31))), CALCULATE(SUM(Sheet1[Column]), DATESBETWEEN(Sheet1[Date], DATE(2020,01,01),DATE(2020,12,31)), all(Sheet1)))or
My Measure = divide(My Measure = CALCULATE(SUM(Sheet1[Column]), DATESBETWEEN(Sheet1[Date], DATE(2020,01,01),DATE(2020,12,31))), CALCULATE(SUM(Sheet1[Column]), DATESBETWEEN(Sheet1[Date], DATE(2020,01,01),DATE(2020,12,31)), allselected(Sheet1)))- likmalik5 years agoHelper I
Hello and thankyou amitchandak but I don't know why but it didn't work