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
TonyWebCloud75
Regular Visitor

Generate a one to many for the same table

I have unstructured data like so in one column - and I would like to split it out:

 

TABLE 1
RawData
519
ABC
XYZ
520
AAA
BBB
CCC
DDD

 

So, I need to write some DAX to convert it into a 1 to many relationship. Generate a TABLE 2 (many) table, while maintaining the relatinship:

 

TABLE 1..........TABLE 2... 
RawData ChildData RawData
519    
  ABC 519
  XYZ 519
520    
  AAA 520
  BBB 520
  CCC 520
  DDD 520

 

Is this possible?

 

2 REPLIES 2
amitchandak
Super User
Super User

@TonyWebCloud75 , Check if file after signature can help. Check two tables in power query

 

 

Amazing sir! Well done.  What if the column as numbers and letters, how would we extract it?

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.