cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

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!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors