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

Use one slicer to filter multiple cards by different categories

I would like to filter three cards differently based on one slicer. (This is a simplified from my actual scenario.)

 

I have two data tables:

  • List of companies along with their industry and type of test
  • List of members (employees) along with their industry, type of test, and score

I also have a slicer that chooses a company.

I would like to have three cards that give the average score:

  • for all members in the same industry
  • for all members using the same test type
  • for all members in same industry and using the same test type

The problem is that when I use the slicer, all the cards get filtered by both industry and test type.

I am using Power BI desktop version Sept 2021.

 

Here's is what I have so far:

drewnigh_0-1677106397752.png

The cards on the left use the slicer but the bottom two are incorrect. The cards on the right are correct, but use a manual filter and don't respond to the slicer.  The tables on the far right show the other averages that should show up when the slicer is changed.

Here is my data:

CompanyIndustryTypeConcat
AConstruction1Construction1
BEducation1Education1
CManufacturing2Manufacturing2
DManufacturing1Manufacturing1
EConstruction1Construction1
FManufacturing2Manufacturing2
GEducation1Education1
HManufacturing1Manufacturing1
IEducation2Education2
MemberIndustryTypeScoreConcat
1Education232Education2
2Education242Education2
3Construction153Construction1
4Education232Education2
12Construction162Construction1
13Education260Education2
14Education245Education2
15Education267Education2
16Education269Education2
17Education137Education1
18Construction247Construction2
19Education156Education1
31Manufacturing266Manufacturing2
45Education266Education2
46Construction242Construction2
47Construction251Construction2
48Manufacturing270Manufacturing2
49Education250Education2
50Manufacturing148Manufacturing1
51Education262Education2
52Manufacturing251Manufacturing2

I created this linking table that I thought might help with the filtering:

IndustryTypeConcat
Construction1Construction1
Construction2Construction2
Education1Education1
Education2Education2
Manufacturing1Manufacturing1
Manufacturing2Manufacturing2

Here are my relationships (joined on Concat):

drewnigh_1-1677106641136.png

My Power BI file can be accessed here:

https://1drv.ms/u/s!Auf12VlCEsoEsEjNEP2YMUtOujjG

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @drewnigh ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

(2) We can create two measures. 

AVG Score for Type = AVERAGEX(FILTER(ALL('Members'),[Type]=SELECTEDVALUE(Companies[Type])),[Score])
AVG Score for Industry = AVERAGEX(FILTER(ALL('Members'),[Industry]=SELECTEDVALUE(Companies[Industry])),[Score])

(3) Then the result is as follows.

vtangjiemsft_0-1677228601290.png

Best Regards,

Neeko Tang

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

1 REPLY 1
Anonymous
Not applicable

Hi @drewnigh ,

 

According to your description, here are my steps you can follow as a solution.

(1) My test data is the same as yours.

(2) We can create two measures. 

AVG Score for Type = AVERAGEX(FILTER(ALL('Members'),[Type]=SELECTEDVALUE(Companies[Type])),[Score])
AVG Score for Industry = AVERAGEX(FILTER(ALL('Members'),[Industry]=SELECTEDVALUE(Companies[Industry])),[Score])

(3) Then the result is as follows.

vtangjiemsft_0-1677228601290.png

Best Regards,

Neeko Tang

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

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.

Top Solution Authors