Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 will be possible in the near future? Is there a simple dax code I could use if this is not possible?
Here is a link that shows how it's done in Excel: https://excelk.com/en/include-filtered-items-in-totals-en/
All the best,
Rolo
Solved! Go to Solution.
@Rolosig , 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
@Rolosig
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 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Rolosig , 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
Thank you I really appreciate your help, ALL worked in my case.
@Rolosig - Perhaps, you could possibly use ALL in your totals row. See if this helps:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |