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

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

Reply
AndySmith
Helper III
Helper III

User Input - Different parameter for each line

Hi

 

Is it possible to generate a list of products that allows the user to enter a different discount % for each line? So in example below the user would add the products and then for each line the user can add a different discount %

 

Is this possible in Power BI?

 

   WholesaleDiscount %DiscountPrice
Product A

100

55

95

Product B100101090
Product C100202080
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @AndySmith,

According to your description, I think your scenario may not suitable for power bi usage.
Perhaps you can do these interactions externally (e.g. powerapps) and use power bi to design the visualization of these results.

Power Apps Community - Power Platform Community (microsoft.com)

Regards,

Xiaoxin Sheng

View solution in original post

5 REPLIES 5
Jihwan_Kim
Super User
Super User

Hi, @AndySmith 

Please check the below picture and the sample pbix file's link down below, whether it is what you are looking for.

All measures are in the sample pbix file.

 

2.png

 

https://www.dropbox.com/s/r8nt5aopco7rfly/andysmith.pbix?dl=0 

 

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Thank you @Jihwan_Kim - however the purpose of this would be to create a wine list for a resturaunt and therefore could have any number of different products. I think that Power BI is probably not the solution for this!

Anonymous
Not applicable

Hi @AndySmith,

According to your description, I think your scenario may not suitable for power bi usage.
Perhaps you can do these interactions externally (e.g. powerapps) and use power bi to design the visualization of these results.

Power Apps Community - Power Platform Community (microsoft.com)

Regards,

Xiaoxin Sheng

FarhanAhmed
Community Champion
Community Champion

You may create a  powerapps visuals to write back to data source and use same source in your report

 

https://visualbi.com/blogs/microsoft/powerbi/power-apps-visual-power-bi/

https://docs.microsoft.com/en-us/power-bi/visuals/power-bi-visualization-powerapp

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/powerapps-custom-visual

 

Otherwise if you want to fix discounts for all products then you can also use What-If parameters to replace your discount values to parameterized values.

 

https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-what-if

https://blog.enterprisedna.co/scenario-analysis-using-what-if-parameters-in-power-bi/

https://radacad.com/power-bi-what-if-parameters

 

 

 







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

Proud to be a Super User!




amitchandak
Super User
Super User

@AndySmith , You can write a calculated column to do that

New column =

Switch( [Product] ,

"Product A", .05,

"Product B", .03,

// add more

.02

)

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

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.