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
sjm21
New Member

Picklist values to filter count on cards

I would like to use multiple card visulations using the same field as a filter but for each card control to display different counts based on the filter and I'm struggling to work out how to do it.  The below is an example of what I would like it to look like.  Any assistance greatly appreciated!card control.png

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @sjm21 ,

 

For PowerBI, the value in a filter can only be displayed in a card visual. If you want to achieve the results you want, my suggestion is to create multiple slicers, use the edit interactions function, and specify the card visual corresponding to different slicers. The reference is as follows:

M_filter = 
var a = SELECTEDVALUE('Table'[Filter])
return
CALCULATE(MAX('Table'[Value]),'Table'[Filter]=a)

just like below:

vhenrykmstf_0-1631255701727.png

For more details, you can read related document:

Power BI - Edit Interactions features - Power BI Docs


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @sjm21 ,

 

For PowerBI, the value in a filter can only be displayed in a card visual. If you want to achieve the results you want, my suggestion is to create multiple slicers, use the edit interactions function, and specify the card visual corresponding to different slicers. The reference is as follows:

M_filter = 
var a = SELECTEDVALUE('Table'[Filter])
return
CALCULATE(MAX('Table'[Value]),'Table'[Filter]=a)

just like below:

vhenrykmstf_0-1631255701727.png

For more details, you can read related document:

Power BI - Edit Interactions features - Power BI Docs


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

selimovd
Super User
Super User

Hey @sjm21 ,

 

where exactly are you struggling?

You create a dimensional table on which you slice and this you connect to the fact table(s). This visuals you can use from the fact table and the slicer you use from the dimensional table.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

Helpful resources

Announcements
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!

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.

Top Solution Authors