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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
gianmarco
Helper IV
Helper IV

Total Value does not change in a simulation environment

Dear Super-Duper Users,

I need your help on this.

 

I have the following measure:

IF(SELECTEDVALUE('Slicer Name'[Slicer Name])=MAX(Table1[Name]),([Sum])*(1+Parameter[Parameter Value]),([Sum]))
 
Through the same I can select one single name on a table and simulate a changing in its single value.
I'm facing a issue because the total of the values in the table DOES NOT change. It remains fixed.
Instead I want the total of the values to change according to my simulation.

Is there a way I can solve this?

Thank You so much 
1 ACCEPTED SOLUTION

Hi, @gianmarco 

You need to  add a new measure "Total 2" as  below :

 

Total = IF(SELECTEDVALUE('Slicer Name'[Slicer Name])=MAX(Table1[Name]),([Sum])*(1+Parameter[Parameter Value]),([Sum]))
Total2 = SUMX(Table1,[Total])

 

12.png

 

Please check my sample file for more details.

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@gianmarco , Try measure like

sumx(values(Table1[Name]) ,IF(SELECTEDVALUE('Slicer Name'[Slicer Name])=MAX(Table1[Name]),([Sum])*(1+Parameter[Parameter Value]),([Sum])))

 

or

 

 

sumx(values(Table1[Name]) ,IF(MAX(Table1[Name]) in values('Slicer Name'[Slicer Name])=,([Sum])*(1+Parameter[Parameter Value]),([Sum])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Dear @amitchandak , [Sum] is already a nested measure which uses SUMX.

Anyway, I try to use your solution but it doesn't work.

I don't know why the total won't change...

Hi, @gianmarco 

You need to  add a new measure "Total 2" as  below :

 

Total = IF(SELECTEDVALUE('Slicer Name'[Slicer Name])=MAX(Table1[Name]),([Sum])*(1+Parameter[Parameter Value]),([Sum]))
Total2 = SUMX(Table1,[Total])

 

12.png

 

Please check my sample file for more details.

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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