cancel
Showing results for 
Search instead for 
Did you mean: 
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
Join Arun Ulag at MPPC23

Join Arun Ulag at MPPC23

Get a sneak peek into this year's Power Platform Conference Keynote.

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors