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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
android1
Post Patron
Post Patron

Applying What if Parameter only to certain value

Hi,

 

I have a table with Hours & Wages Column.

 

I've applied a What If parameter: What if  = [Wages] * [Wage Increase Value]

 

I only want to apply this What if to Hours = .5 but i still want to show total of all other hours also.

 

2018-08-13 18_27_50-Book2 - Microsoft Excel.png

 

1 ACCEPTED SOLUTION

@android1,

 

Just add IF Function and SELECTEDVALUE Function inside.

Community Support Team _ Sam Zha
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

4 REPLIES 4
MFelix
Super User
Super User

 

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MFelix
Super User
Super User

Hi @android1,

 

You need to create a measure with a SUMX something like this:

 

What if  = SUMX ( Table; [Wages] * [Wage Increase Value])

This will give you the sum of the multiplication values line by line.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi @MFelix,

 

Bit confused by this. I don't see where this is only applying to Hours  = .5 ?

@android1,

 

Just add IF Function and SELECTEDVALUE Function inside.

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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