Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Anonymous
Not applicable

How to prevent SUM or MAX measure result from changing by user clicks on items

I have a smart narrative card with text and a measure that counts the total amount from different categories of revenue.

 

When a user clicks on one of the categories, that total amount gets changed to count only that one category.

 

Both the total and the categories pull data from the same column. Their formatting is specified by the formula.

 

How do I stop the total from changing no matter what the user clicks on. I tried with SUM and MAX and the behavior is the same.

 

{31F67633-4E0E-4634-A3F7-7E74A5B71370}.png

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , if the total amount is on a separate card. You can have measure like

 

calculate(Sum(Table[Value]), all())

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you! I did not fully explain my situation, which is why your suggestion is on the right track but does not prevent a user click from changing that number.

Here is what my data table looks like and the number I want to display. I want to display:

 

The value of 'Municipal GDP Total' where 'GDP Domain' is "Culture Total", and this should be affected by my 'City' Slicer.

{BB9D98AB-F200-4BDD-906C-1F5AE2A307CD}.png

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors