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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.