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! Get ahead of the game and start preparing now! Learn more
Hello,
I have a Power BI Matrix visual where multiple measures are on the rows (using Values->Options->Switch values to rows). There is no dimension on the rows. There are 2 dimensions on the columns to create the cross-tab view.
On the Power BI Service, when the Export data option for the visual is selected to get the data in the exact same format and layout in an excel, it does not work. The export moves the measures to columns and dimensions to rows.
Is there any way to make this work correctly?
Power bi file link:
https://drive.google.com/file/d/1nWyYexpzvJs_0YI4HxowW8RRQoTTF-fk/view?usp=sharing,
and exported excel link:
Thank you!
Solved! Go to Solution.
Currently, Power BI does not support exporting matrix visuals with "Show values on rows" in the same layout from the Power BI Service to Excel. This is a known limitation. When exporting data from a matrix visual, Power BI flattens the data into a tabular format, placing:
This behavior causes the exported data to differ significantly from how it's visually presented in Power BI when "Values on rows" is turned on.
SummaryTable =
UNION(
SELECTCOLUMNS(YourTable,
"Measure", "Sales",
"Value", [Total Sales],
"Dim1", YourTable[Dim1],
"Dim2", YourTable[Dim2]
),
SELECTCOLUMNS(YourTable,
"Measure", "Profit",
"Value", [Total Profit],
"Dim1", YourTable[Dim1],
"Dim2", YourTable[Dim2]
)
)Then create a table visual with this result and export it.
If you want the export to match the matrix layout perfectly, Paginated Reports remain your best option.
✔️ If my message helped solve your issue, please mark it as Resolved! 👍 If it was helpful, consider giving it a Kudos! |
Currently, Power BI does not support exporting matrix visuals with "Show values on rows" in the same layout from the Power BI Service to Excel. This is a known limitation. When exporting data from a matrix visual, Power BI flattens the data into a tabular format, placing:
This behavior causes the exported data to differ significantly from how it's visually presented in Power BI when "Values on rows" is turned on.
SummaryTable =
UNION(
SELECTCOLUMNS(YourTable,
"Measure", "Sales",
"Value", [Total Sales],
"Dim1", YourTable[Dim1],
"Dim2", YourTable[Dim2]
),
SELECTCOLUMNS(YourTable,
"Measure", "Profit",
"Value", [Total Profit],
"Dim1", YourTable[Dim1],
"Dim2", YourTable[Dim2]
)
)Then create a table visual with this result and export it.
If you want the export to match the matrix layout perfectly, Paginated Reports remain your best option.
✔️ If my message helped solve your issue, please mark it as Resolved! 👍 If it was helpful, consider giving it a Kudos! |
Great! Thank you for your reply and clarifying my doubt.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!