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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Allow end user input to calculate values from measures

Hello,

I am new to Power BI and feel slightly overwhelmed with the amount of options at my fingertips.

 

There are two measures I have calculated from separate columns in a table;

1. Measure calculates the average time across a column, and the other does the same for a different set of times.

Time per camera (min)Time per file (min)
0.10.06
0.40.08
0.30.02

So that I am left with two measures: a. Average Time per Camera (min), and b. Average Time per File (min)

 

2. I want for an end user to be able to input a parameter for 'how many cameras' and 'how many files' in order to calculate an estimated time using a. * input(value1) b. * input(value2).

 

3. Then, I'd like the outputs of each to be displayed and an average between them to be calculated and displayed also.

 

Please ask me to elaborate if needs be, but I'm hoping someone might be able to point me in the right direction for approaching this problem. Thanks in advance!

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @Anonymous ,

 

unfortunately, Power BI does not support input fields that can be used inside measures.

Fortunately, you can use What-if parameters to accomplish what you are looking for: Use what-if parameters to visualize variables - Power BI | Microsoft Docs

 

Hopefully, this gets you started and helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

2 REPLIES 2
TomMartens
Super User
Super User

Hey @Anonymous ,

 

unfortunately, Power BI does not support input fields that can be used inside measures.

Fortunately, you can use What-if parameters to accomplish what you are looking for: Use what-if parameters to visualize variables - Power BI | Microsoft Docs

 

Hopefully, this gets you started and helps to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

This worked perfectly.

As I was able to make a 'What if' parameter for a user-input quantity value.

Then create a new measure which multiplies 'Average Time' by 'Quantity'.

Thank you so much!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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 Kudoed Authors