Forum Discussion
Anonymous
6 years agoNot applicable
Include Filtered Items in Totals
Hi, it is possible in a pivot table in Excel to include filtered Items in totals so if you filter out a value the grand total will stay the same. Do you know if this is possible in Power bi or if it ...
- 6 years ago
Anonymous , you can try all, removefilters
calculate(sum(Table[value]),all(Table))
refer this for removefilters
https://www.linkedin.com/pulse/five-recent-power-bi-functions-you-should-use-more-often-amit-chandak
Fowmy
Super User
6 years agoAnonymous
Create a measure this way:
Total =
IF(
ISINSCOPE(Data1[City]), SUM('Data1'[Value]),
CALCULATE( SUM('Data1'[Value]) , ALL(Data1[City]))
)
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
Click on the Thumbs-Up icon if you like this reply 🙂