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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
mhr08004
Frequent Visitor

Numeric Parameter Input to Table Row

Hello All,

 

I greatly appreciate you assistance here...

 

I would like to input a specific parameter value into a table row as below. 

 

I have this working fine with the exception of referencing it in a specific row. 

 

I am completly coming up blank here, happy to make a datatable from the parameters and join them or do a direct measure.

 

The idea here is to take the current value of a catagory and map a what-if through the partamater to model a future outcome.

 

mhr08004_0-1719279750983.png

 

1 ACCEPTED SOLUTION

Hi @mhr08004 
That's not a problem 🙂

You can create 2 parameters and use them inside a simple if expression :

Ritaf1983_0-1719367723247.png

The updated pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @mhr08004 
Yes, you can create what-if parameters.

Please refer to the linked tutorial:

https://www.youtube.com/watch?v=28PDdA3SROU

+

I attached pbix with my example, you can download it and see how it works

Ritaf1983_0-1719285301957.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hello,

 

Thank you for the reply. However, this is not the answer to the question. The soluiton provided gives a % discount to all products in the table. I would like the discount to only be provided to say, 'Product 1', then have a second discount slicer for 'Product 2', and so on. 

 

The measure will need to only target specific rows in the table. 

Hi @mhr08004 
That's not a problem 🙂

You can create 2 parameters and use them inside a simple if expression :

Ritaf1983_0-1719367723247.png

The updated pbix is attached

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors