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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors