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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.