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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Table or multi-card with list of values

Hi, 

I have a table with a list of customers; I also have a numeric range parameter. I want to show in a table or a multi-card all the customers with >= number of orders than the value in the parameter slicer. Is there a way?

 

Thank you!!

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

Hi @Anonymous,

 

You may try this solution.

 

Here is the sample data used.

Orders table

vcazhengmsft_0-1662444187114.png

 

Numeric Range table

vcazhengmsft_1-1662444187115.png

 

Then, you need a measure.

FilterCx =
VAR selectedNumeric =
    SELECTEDVALUE ( 'Numeric Range'[numeric range parameter] )
VAR count_order =
    CALCULATE ( COUNT ( Orders[orderDate] ), VALUES ( Orders[customer] ) )
RETURN
    IF ( count_order >= selectedNumeric, 1, 0 )

 

After that, you need filter your table built with customers info with visual level filter.

vcazhengmsft_2-1662444187119.png

 

The result will look like this.

vcazhengmsft_3-1662444187121.png

 

Also, attached the pbix file as reference.

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

View solution in original post

2 REPLIES 2
v-cazheng-msft
Community Support
Community Support

Hi @Anonymous,

 

You may try this solution.

 

Here is the sample data used.

Orders table

vcazhengmsft_0-1662444187114.png

 

Numeric Range table

vcazhengmsft_1-1662444187115.png

 

Then, you need a measure.

FilterCx =
VAR selectedNumeric =
    SELECTEDVALUE ( 'Numeric Range'[numeric range parameter] )
VAR count_order =
    CALCULATE ( COUNT ( Orders[orderDate] ), VALUES ( Orders[customer] ) )
RETURN
    IF ( count_order >= selectedNumeric, 1, 0 )

 

After that, you need filter your table built with customers info with visual level filter.

vcazhengmsft_2-1662444187119.png

 

The result will look like this.

vcazhengmsft_3-1662444187121.png

 

Also, attached the pbix file as reference.

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

 

Best Regards,

Community Support Team _ Caiyun

amitchandak
Super User
Super User

@Anonymous , Assume you have measure

 

Order count = count(Table[Order No])

 

or

 

Order count = countrows(Summarize(Table,Table[Order No]))

 

this joined with Customer dimension

 

Countx(Values(Customer[Customer]), if([Order count] >= [What if Parameter measure], [Customer], Blank() ))

 

You can sue what if parameter to select the parameter you wanted- https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-what-if

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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