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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.