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

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.

Reply
splambo
Helper I
Helper I

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

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

 

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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors