Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello everyone,
I would have this problem. I have a table like below
but I would like to transform it this way.
Is there anyone who knows a way with Sql or with Power Bi desktop?
Thank you all
Solved! Go to Solution.
@Anonymous , In a matrix put A on Row, B and C on columns and E on values.
Expand Drill columns do that u can see B and C together
Hi, @Anonymous
Considering that it is best not to duplicate the name between the columns, otherwise it will be integrated. I create a calculated column to display, then you can show it in matrix.
Like this:
Column =
VAR ranka =
RANKX (
FILTER (
'Table',
[Column1] = EARLIER ( 'Table'[Column1] )
&& [Column3] = EARLIER ( 'Table'[Column3] )
),
[Column2],
,
ASC
)
RETURN
CONCATENATE ( [Column3], ranka )
Best Regards
Janey Guo
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , In a matrix put A on Row, B and C on columns and E on values.
Expand Drill columns do that u can see B and C together
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 131 | |
| 103 | |
| 58 | |
| 39 | |
| 31 |