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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
FAdair
New Member

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 @FAdair ,

 

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 @FAdair ,

 

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

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.