Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I need help to see if it is possible for items that show in multiple rows for the same record to all show on one row for the same record. Below is an example of what the data can look like:
Claim | Charge Type | Expense Type | Part Number | Approved Qty | Approved Rate |
Claim1 | Part | Part | Part-A | 1 | 50 |
Claim1 | Labor | Hourly | 2.5 | 65 | |
Claim1 | Travel | Travel, Hourly | 1.5 | 50 | |
Claim1 | Travel | Mileage | 100 | 0.5 | |
Claim1 | Other | Handling | 1 | 10 | |
Claim1 | Part | Part | Part-B | 2 | 25 |
Claim1 | Part | Part | Part-C | 1 | 75 |
Claim1 | Part | Part | Part-D | 2 | 80 |
Claim2 | Part | Part | Part-E | 1 | 60 |
Claim2 | Labor | Hourly | 2.5 | 65 | |
Claim2 | Travel | Travel, Hourly | 1.5 | 50 | |
Claim2 | Other | Disposal | 1 | 10 | |
Claim2 | Part | Part | Part-Z | 2 | 30 |
Below is what I would like to be able to do with the data
Claim | Labor Expense Type | Approved Qty | Approved Rate | Travel Expense Type | Approved Qty | Approved Rate | Mileage Expense Type | Approved Qty | Approved Rate | Other Expense Type | Approved Rate | Approved Qty | Part 1 | Part 1 Approved Qty | Part 1 Approved Rate | Part 2 | Part 2 Approved Qty | Part 2 Approved Rate | Part 3 | Part 3 Approved Qty | Part 3 Approved Rate | Part 4 | Part 4 Approved Qty | Part 4 Approved Rate |
Claim-1 | Hourly | 2.5 | 65 | Travel, Hourly | 1.5 | 50 | Mileage | 100 | 0.5 | Handling | 1 | 10 | Part-A | 1 | $50 | Part-B | 2 | $25 | Part-C | 1 | $75 | Part-D | 2 | $80 |
Claim-2 | Hourly | 2.5 | 65 | Travel, Hourly | 1.5 | 50 | Disposal | 1 | 10 | Part-E | 1 | 60 | Part-Z | 2 | 30 |
Solved! Go to Solution.
Hi @szub ,
I created a sample pbix file(see attachment) for you, please check if it can be used as an alternative. (I couldn't find a suitable way to process the data to get the same visual as your second table)...
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @szub ,
I created a sample pbix file(see attachment) for you, please check if it can be used as an alternative. (I couldn't find a suitable way to process the data to get the same visual as your second table)...
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Your data is already in a relatively good format. You should be able to feed that into a marix visual to get close to what your expected outcome is.
You may want to explain what you mean by "Part 1" , "Part 2" etc - those are not obvious from your source data.
User | Count |
---|---|
136 | |
73 | |
73 | |
58 | |
54 |
User | Count |
---|---|
194 | |
95 | |
63 | |
63 | |
51 |