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

Advanced Filtering and Relationships

I recently began learning PowerBI and would love some help with this. I have data in the following format. Field 3 is a column with semicolon seperated values.

 Field 1 Field 2 Field 3
A1 AB; AC;AD
 AB; AD
 AD

 

I aim to do two things

1a- Get Unique Values from Field 3 i.e.

 AB
AC 
AD 

1b- Get a count of their occurance

 AB 2
AC 
AD 


2- When making visualizations from these tables, the relationship exists i.e. when I select AB from 1b; it highlights A and B rows from the parent table or visualizations connected to those. 

Any help would be helpful.

3 REPLIES 3
Eric_Zhang
Employee
Employee

@marehmat

The first thing is to re-model the data by spiliting and unpivot columns.

split&unpivot.gif

Capture.PNG

@Eric_ZhangThis is nice! Definately something I can use. Thanks!! Any insight on how I may use this new Table to create relationships with the parent table and visualizations derived from it?

marehmat
New Member

I recently began learning PowerBI and would love some help with this. I have data in the following format. Field 3 is a column with semicolon seperated values.

 Field 1 Field 2 Field 3
A1 AB; AC;AD
 AB; AD
 AD

 

I aim to do two things

1a- Get Unique Values from Field 3 i.e.

 AB
AC 
AD 

1b- Get a count of their occurance

 AB 2
AC 
AD 


2- When making visualizations from these tables, the relationship exists i.e. when I select AB from 1b; it highlights A and B rows from the parent table or visualizations connected to those. 

Any help would be helpful.

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.