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! Request now

Reply
Anonymous
Not applicable

Dynamic Slicer to update Thresholds

Hello

 

I have a table grouped at Purchase Order Level where I have a set of 10 Kpis.

- Selling Price - Cost / Selling Price

- Purchase Order Cost / Forecasted Margin

- and so on..

 

Based on the threshold that I have for each Kpi, I have a final measure that I Call "Status" that returns Ok if approved and Not OK if not approved.

 

Example:

IF(KPI_1 > 0.1 AND KPI_2 > 0.5,"Ok","Not Ok"

 

My question is:

- Is it possible to add a slicer/anything that the PBI user can change on its own, to update the threshold stabilished in the Status Measure for each KPI ?

 

Thanks

Diego

 

 

 

1 ACCEPTED SOLUTION
MarkLaf
Super User
Super User

I believe you can achieve what you want with parameters.

 

1) Define whichever threshold parameters you want through Modeling > New parameter > Numeric range.

MarkLaf_1-1664919604976.png

 

MarkLaf_0-1664919516118.png

 

2) Update your measures to reference the threshold parameters instead of the hard-entered values.

Status =
IF(
    [KPI_1] > [KPI_1_Threshold Value]
        && [KPI_2] > [KPI_2_Threshold Value],
    "Ok",
    "Not Ok"
)

 

Note that as indicated above, KPI_1 and KPI_2 must be measures, not calculated columns. E.g. if you are trying to compare non-summarized columns, you could just do KPI_1 = SUM( 'Your Table'[Value Column] )

(or perhaps use AVERAGE instead of SUM if you want the tresholds to make sense in (sub)total columns/rows)

View solution in original post

1 REPLY 1
MarkLaf
Super User
Super User

I believe you can achieve what you want with parameters.

 

1) Define whichever threshold parameters you want through Modeling > New parameter > Numeric range.

MarkLaf_1-1664919604976.png

 

MarkLaf_0-1664919516118.png

 

2) Update your measures to reference the threshold parameters instead of the hard-entered values.

Status =
IF(
    [KPI_1] > [KPI_1_Threshold Value]
        && [KPI_2] > [KPI_2_Threshold Value],
    "Ok",
    "Not Ok"
)

 

Note that as indicated above, KPI_1 and KPI_2 must be measures, not calculated columns. E.g. if you are trying to compare non-summarized columns, you could just do KPI_1 = SUM( 'Your Table'[Value Column] )

(or perhaps use AVERAGE instead of SUM if you want the tresholds to make sense in (sub)total columns/rows)

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.