Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Experts - Could you please assist me on below query?
The channel field in the table has 4 rows (including Total) and it looks like as below:
I would like to get assistance on how to exclude Channel A,B & C numbers when Channel is not selected. In current scenario, SUM(Count) is giving the result as 10+20+15+40 = 85 when Channel is not selected. In other words, I would like to display only 40 when channel is not selected and show individual channels + total (4 rows) when channel is selected.
P.S. I understand it sounds weired to have Total as a row but unfortunately the sum of individual channels are not same as Total.
Solved! Go to Solution.
How about:
Count = IF(ISFILTERED (Table[Channel]), SUM(Table[Count]), CALCULATE(SUM(Table[Count]), Table[Channel] = "Total")
Proud to be a Super User!
Paul on Linkedin.
How about:
Count = IF(ISFILTERED (Table[Channel]), SUM(Table[Count]), CALCULATE(SUM(Table[Count]), Table[Channel] = "Total")
Proud to be a Super User!
Paul on Linkedin.
It worked like a charm!! Many thanks Paul. Appreciate your swift response and assistance.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |