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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Add a slider for a count of value

I want to add a slicer to filter all the visuals on one page of my Power BI report by the count of 'order number' so I'm only seeing data where there has been greater than 5 or 10 orders for example. 

Is there a way I can do this?

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could create a flag measure , and apply it in another visuals.like below:

1. create a slicer table.

slicer = GENERATESERIES(1, 20, 1)

2.create a flag measure.

 

flag = IF(CALCULATE(COUNT([order number]),ALLEXCEPT('Table','Table'[order number]))>=SELECTEDVALUE(slicer[slicer]),1,0)

 

3.apply it into every visual.

vyalanwumsft_1-1629700823392.png

The final output is shown below:

vyalanwumsft_0-1629960905257.pngvyalanwumsft_1-1629960953340.png

Best Regards,
Community Support Team_ Yalan Wu
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

4 REPLIES 4
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could create a flag measure , and apply it in another visuals.like below:

1. create a slicer table.

slicer = GENERATESERIES(1, 20, 1)

2.create a flag measure.

 

flag = IF(CALCULATE(COUNT([order number]),ALLEXCEPT('Table','Table'[order number]))>=SELECTEDVALUE(slicer[slicer]),1,0)

 

3.apply it into every visual.

vyalanwumsft_1-1629700823392.png

The final output is shown below:

vyalanwumsft_0-1629960905257.pngvyalanwumsft_1-1629960953340.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

"where there has been greater than 5 or 10 orders"

 

Per what? Per customer? Per day?  Per store?

Anonymous
Not applicable

@lbendlin per item (part) 

Create a measure that uses table variables to collect the base data (with ADDCOLUMNS) and then filters it down as needed. As a last step use COUNTROWS() on the last table variable to get the measure result.

Use CONCATENATEX along the way to validate each intermediate step.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.