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
rsbin
Super User
Super User

Numeric Range Parameters

Hello Folks,

Using Parameters for the first time and struggling with some logic:

I have a simple Numeric Range Parameter which represents "Driver Wait Time (s)"  - from 0 - 180 incremented by 1.

 

QueueTimeThreshold(sec) = GENERATESERIES(0, 180, 1)

 

I have a Fact Table with Driver Transactions ranging from 0 to 4000 seconds.

The logic I would like to deploy is when the User selects a single value from the Parameter, i.e. 20, the Table should filter all Driver Transactions > Parameter Value.  In other words, display "Outlier" records only.

I've read threads regarding the limitations of Numeric Parameters, but have twisted myself into a knot trying to determine how best to make this work. Sample Data:

BatchJobID Overall Driver Wait
978865 12
978866 18
978867 9
978868 9
978869 15
978870 30
978871 14
978872 97

Thanks much in advance and Best Regards,

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rsbin 

Based on your description, you can refer to the following solution.

Sampple data 

vxinruzhumsft_0-1713404820183.png

The paramater table is the same as you privided.

Create a measure.

 

 

MEASURE =
CALCULATE (
    SUM ( 'Table'[Overall Driver Wait] ),
    'Table'[Overall Driver Wait]
        > SELECTEDVALUE ( 'QueueTimeThreshold(sec)'[Parameter] )
)
)

 

 

Then put the measure to the visual.

Output

vxinruzhumsft_1-1713404986651.png

 

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

Assuming overall driver wait is a measure that you have written, write this measure and filter with the criteria of TRUE

Test = [Overall driver wait]>[Parameter value]

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @rsbin 

Based on your description, you can refer to the following solution.

Sampple data 

vxinruzhumsft_0-1713404820183.png

The paramater table is the same as you privided.

Create a measure.

 

 

MEASURE =
CALCULATE (
    SUM ( 'Table'[Overall Driver Wait] ),
    'Table'[Overall Driver Wait]
        > SELECTEDVALUE ( 'QueueTimeThreshold(sec)'[Parameter] )
)
)

 

 

Then put the measure to the visual.

Output

vxinruzhumsft_1-1713404986651.png

 

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

@Anonymous , @Ashish_Mathur 

Apologies for the delayed response.  I got dragged into another project.

Thank you both for providing the solution.  Ashish, Driver Wait is actually a column in my Fact Table so I simply went with Yolo's solution.  But understand both solutions are driving at the same thing and now understand the logic.

Kind Regards to you both,

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.