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.
Is is possible in Power bi or by SQL code before dataload?
Example of existing data:
Type | Subgroup | Value |
Test 1 | Mix | 100 |
Test 1 | A | 200 |
Test 2 | B | 200 |
Which should be transformed into:
Type | Subgroup | Value |
Test 1 | Mix | 50 |
Test 2 | Mix | 50 |
Test 1 | A | 200 |
Test 2 | B | 200 |
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.
User | Count |
---|---|
110 | |
60 | |
58 | |
38 | |
37 |
User | Count |
---|---|
117 | |
66 | |
65 | |
64 | |
48 |