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
vcmoffatt
Frequent Visitor

percentage slicer

Hi,

 

Is there a way of creating a percentage slicer. For example I have a set of data that shows the forecast Revenue, but I want to be able to add a slicer that adjusts the forecast based on a percentage slicer. So if I want to see how the forecast looks if we only have a 75% confidence in the forecast - what does that look like, or if we are 90% confident how does it look.

 

I'm sure there is a simply way, I just can't figure it out.

 

thanks

Victoria

1 ACCEPTED SOLUTION
Anonymous
Not applicable

No, the idea of a selection based table is that you can get your measures to check the filter context of the selection table and alter their output accordingly.  The use of "MIN" or "MAX" handle that while you expect the table to only ever have a single row, it also covers when nothing is selected

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Here is another method.  Create a Confidence Table.  This table will have 3 columns:

Column 1: Numeric ID from 1 onwards as whole numbers
Column 2: The text to display in your slicer
Column 3: Numeric effect on your formula

Now you set up your slicer to use column 2 of that table.  Then your forecast measure can be affected by Column 3 using a MIN statement.

For example, lets say that you suggest "If my forecast confidence is <75%, multiply the forecast by 1.1.  If my forecast is between 75% and 125%, do nothing, and lastly if its above 125% we will multiply by 0.9.

So my Columns in the selection table would have the IDs and Text to display the ranges (or individual values) and then column 3 would contain 1.1, 1, or 0.9.

Now my Adjustment Forecast measure would be

Forecast = [Old Forecast Measure] * MIN('Selection Table'[Column3Name])

 

 

EDIT:  Something to note.  Side as ID 1 for whatever you want the default to be.  Whenever nothing is selection, 1 will be your minimum value, thus your default. 

Thank you @Anonymous, but I@m not sure I entirely understand. Would I create a relationship between this new table and my existing data?

 

thanks

Anonymous
Not applicable

No, the idea of a selection based table is that you can get your measures to check the filter context of the selection table and alter their output accordingly.  The use of "MIN" or "MAX" handle that while you expect the table to only ever have a single row, it also covers when nothing is selected

v-yulgu-msft
Employee
Employee

Hi @vcmoffatt,

 

Currently, there is a confidence interval option under Analytics pane, the appearance of forecast revenue will be dynamically changed depend on the selected value. However, this is the only way to change the confidence percentage, it is not available to move it into a slicer. 

3.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-yulgu-msft what charts is the forecast option on, as I don't seem to have it?

 

thanks

Hi @vcmoffatt,

 

The forecasting feature applies to line chart visual.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.