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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Create intersectionality based on 2 tables

Hello,

 

In short I want to dynamically select multiple characteristics to see their influence on an average score. I want to see all combinations and not just the top X.

 

My data is in 2 tables. Table A has a distinct ID column and then columns of characteristics e.g. gender, ethnicity (e.g. ID1, Male, Asain, ID2, Female, White).

Table B has an ID column, assessment column and a score column (e.g. ID1, Assessment 1, Score 70, ID1, Assessment 2, Score 40, ID 2 ....etc).

Both tables are linked by a unique ID bridge table.

 

My thoughts are that I want to show columnsof unique combinations of characteristics and the average score for each combination.

But I want to dynamically select the columns by a slicer. So I can have 1 or 5 columns that influence the average score.

 

Any help is much needed.

 

.

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous ,

The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format?

 

refer if this help : https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/500115

Anonymous
Not applicable

Hello,

 

My data tables are as follows:

 

Table A

 

ID  

Gender Ethnicity Disability 
1MBY
2MWN
3FA

N

 

Table B

 

ID Assessment Score 
1170
1250
21

60

32

50

 

And the Output, I am after is:

 

If I select Gender and Ethnicity in a slicer:

 

Gender 

Ethnicity Average Score
MB60 average of ID 1
MW60 average of ID 2
FA

50 average of ID 3

FB

0 there are no F and B IDs

MA

0 there are no M and A IDs

FW

0 there are no F and W IDs

 

Or if I select just Disbility in a slicer:

 

Disability Average Score
Y60 average of ID 1
N55 average of IDs 2 and 3

 

Hi, @Anonymous 

I am afraid it is hard to achieve the dynamic table you want in powerbi, I will continue to follow this thread.

Hope others can share good ideas here.

 

Best Regards,
Community Support Team _ Eason

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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