Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello,
I am working on a dashboard and I am creating some measures needed for a final measure that has to be used in a Matrix Visual.
Some of these measures are related to hidden virtual tables as the values do not have to change accordingly to the dynamic filtering. I need two measures to change the Totals of the columns and rows of the final Matrix.
Basically, as mentioned in this post I did, I need to assign a value to a column after applying some RLS and the total of the columns/rows has to be always the total of all the values not filtered. Concering the colums, I did it and it works; while, for the rows I have a problem. So, I have a measure from an hidden virtual table which is summing the values of a specific column with conditions (and the sum is correct) but the values are saved at the column level. Therefore, when I use this measure to modify the row totals of the final Matrix, it is not considered as it is taken as zero.
Is there a way or function in DAX to transpose the values in the measure after having calculated the sum?
Below a rappresentation of what this measure is showing and what I need to have (red arrows).
Basically, it is like changing the row label with the column label on this matrix but I need to do it in DAX only for this measure because otherwise I'll have the same problem with the column then.
Solved! Go to Solution.
Hi @artur4 ,
You can new an other calculated table using UNION() function.
UNION(<table_expression1>, <table_expression2> [,<table_expression>]…)
Please refer to the following posts that may be helpful to you:
Transpose with DAX - Microsoft Power BI Community
Solved: Transpose Table in DAX - Microsoft Power BI Community
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @artur4 ,
You can new an other calculated table using UNION() function.
UNION(<table_expression1>, <table_expression2> [,<table_expression>]…)
Please refer to the following posts that may be helpful to you:
Transpose with DAX - Microsoft Power BI Community
Solved: Transpose Table in DAX - Microsoft Power BI Community
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 79 | |
| 38 | |
| 31 | |
| 27 | |
| 27 |