Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I need to show a pivot table with more than one column information without drill down, so that I can't use matrix and I must use "Table" and make a "manual" pivot , transforming a specific rows in a columns. bellow follow my actual scenario where I would like to transform the order column in row
cod client | client | project | store | order |
123456789 | client a | a | dist1 | 1 |
123456789 | client a | a | dist2 | 2 |
123456789 | client a | b | dist1 | 1 |
123456789 | client a | b | dist1 | 2 |
123456780 | client b | a | dist1 | 1 |
123456780 | client b | a | dist2 | 2 |
123456780 | client b | b | dist1 | 1 |
123456780 | client b | b | dist1 | 2 |
The desire scenario
cod client | client | project | 1 | 2 |
123456789 | client a | a | dist1 | dist2 |
123456789 | client a | b | dist1 | dist1 |
123456780 | client b | a | dist1 | dist2 |
123456780 | client b | b | dist1 | dist1 |
I've tried to use a switch function to create a virtual column, but I couldn't. Some Idea in how to transform rows in columns using dax ?
What analysis/visualization will you do once you have the pivoted table? It is likely possible to create the same without the pivot.
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@Anonymous
The best place to do this kind of transformation in Power Query.
For DAX, check these solutions and it can give you some guides though you will need to hardcode.
https://community.powerbi.com/t5/Desktop/DAX-Pivot-table-with-multiple-values/td-p/580431
https://www.youtube.com/watch?v=9Xv8COs59tc
________________________
Did I answer your question? Mark this post as a solution, this will help others!.
I accept KUDOS 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
thanks, but in my scenario I got this tables from analysis Service and I wouldn't like to keep two tables (one normalized and another one not)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |