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
bilingual
Helper V
Helper V

Power BI table - split one particular row and transform into two rows

Hi, i have an excel data table with multiple values:

One of these rows contains data which has a faulty definition i cant change the rawdata.

  1. The values from this row should be split and transformed into two new rows in the same table. 
  2. The values should be split acording to the weight of two variables in the same table.

Is is possible in Power bi or by SQL code before dataload?

 

Example of existing data:

 

Type SubgroupValue
Test 1Mix100
Test 1A200
Test 2B200

 

Which should be transformed into:

 

TypeSubgroupValue
Test 1Mix50
Test 2Mix50
Test 1A200
Test 2B200

 

3 REPLIES 3
lbendlin
Super User
Super User

There is not enough information in your sample data? How do you decide which row to split, and where is the ratio mentioned?

This is just an example, but it is Test 1 with Subgroup Mix which needs to be split in to the 2 Mix subgroups.

 

The ratio is the percentage between Test 1 and Test 2, in the example, it is 50/50

Please provide sanitized sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

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.