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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Allow user to control variable value inside measure from textbox?

Hi, 

 

I suspect this is impossible but worth a shot, or maybe worth doing another way. Let's say I have a column of decimal numbers, and another column of date, and I am plotting the median values of that column over time on a bar chart (ie what is the median on different days). 

 

However, what if the user wants to see a different percentile, ie the 90th percentile of the data, in addition to the 50th percentile? Right now I have duplicated my bar charts and created bookmarks labelled median, 90th percentile which shows/hides the relevant graphs. 

 

What I would like is to have a textbox that allows the user to type in say "50" and it would show the median, or "90" and it would show the 90th percentile. Is this functionality supported?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

if you want to accept input from user then you need to create dummy table with required values.

 

In your case you want to show 50 & 90 percentile.

Let's say in your may be they want to see others percentile as well.

SImply create table and add 10 ,20,30,... 100 values in it.

User can select these values from slicers.

 

ANd you need to create measure which calculates median automatically based on slicer selection that is SELECTEDVALUE().

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

if you want to accept input from user then you need to create dummy table with required values.

 

In your case you want to show 50 & 90 percentile.

Let's say in your may be they want to see others percentile as well.

SImply create table and add 10 ,20,30,... 100 values in it.

User can select these values from slicers.

 

ANd you need to create measure which calculates median automatically based on slicer selection that is SELECTEDVALUE().

 

Thanks & regards,
Pravin Wattamwar
www.linkedin.com/in/pravin-p-wattamwar

If I resolve your problem Mark it as a solution and give kudos.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors