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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Dropdown menu for calculations

Hello all! 

 

I am fairly new to Power BI and I have learned a lot from this community already! However, I am struggling a bit with a project I am working on, and hopefully someone here knows the answer. 

What I want to do is to make a calculation based on what value is chosen in the dropdown menu. I will explain in greater detail with this picture from Excel: 

torkild_oo_0-1661777700679.png

If the cost per unit is 50, I want to multiply 50 by how many units is produced. If 3 units are produced the cost is (3x50) 150, if 10 units are produced the cost is 500. When the value in the dropdown menu is changed to for example 70, the total cost of producing 3 units will become (3x70) 210. 

I appreciate any help I could get on this,

 

Thanks

1 ACCEPTED SOLUTION
bcdobbs
Community Champion
Community Champion

Hi,

Have a look at:

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

Think it's what you need.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

View solution in original post

2 REPLIES 2
bcdobbs
Community Champion
Community Champion

Hi,

Have a look at:

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

Think it's what you need.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Anonymous
Not applicable

Thanks @bcdobbs, that worked! 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors