Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi Team,
We are trying to evaluate Totals for simple data set using DAX Expression and show them in Tooltips for our visuals. The DAX Seems to be giving correct result while looking at default PBI tooltip. But while looking at Smart Narrative Tooltip, the totals are returning different numbers for Multi-selection in Filters.
DataSet:
| Grade | Dept | Value |
| A | 100 | 1 |
| B | 100 | 4 |
| B | 101 | 1 |
| C | 100 | 2 |
| C | 101 | 4 |
| D | 100 | 1 |
| D | 101 | 1 |
| E | 100 | 5 |
| A | 102 | 2 |
| B | 102 | 3 |
| C | 102 | 4 |
| D | 102 | 5 |
| E | 102 | 6 |
DAX Expression to Calculate Totals:
Thanks,
Muthu
Hi Amit,
We have a slicer to be considered in the calculation. The above calculation will remove all filters from the context. Please help me with revised logic that considers selected Filters/slicers and display totals only based on selection.
Hi @mkasinathan1
This happens due to Auto-Exist Feature in Power Bi. You can find many artiles and videos about it. Here is one for your reference if you are aintersted AutoExist and Normalization - SQLBI
Long story short, use a dimention table to slice by Department. Please follow the following steps and arrached sample file.
Hi,
Is it possible to handle the issue using DAX expression instead of making changes to data model?
The reason i'm asking you this is because, we have plenty of slicers in our real time reports and we are in the verge of moving changes to Production. Making changes to data model at this phase would be difficult for us to re-validate all metrics/data points now.
Appreciate if you could help me with your expertise on this.
Adding a disconnected local single column table to your data model is not considered as "changing the data model". Changing the column in each slicer will take 5 seconds per slicer. Even if there is another way around it could be complex and you never know when and where other errors will appear.
Hi,
My initial thought is: would it work if you changed your totals calculation to be using some form of the "count" formula instead?
Hi,
When you mean some counts, can you please help me with the formula?
@mkasinathan1 , Try this in tooltip page
Totals = CALCULATE(SUM(Sheet1[Value]), REMOVEFILTERS(Sheet1))
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 21 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 59 | |
| 52 | |
| 41 | |
| 33 | |
| 32 |