Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
How we can move column on left or first position in matrix/ Table? Using logic without using formatting tool.
@amitchandak
Solved! Go to Solution.
Hi @Ali123 ,
The only way to make this to work is to create a new measure with the total value, I assume that you are using a column to get the Surly and Trek values on the matrix so if you create a table with the following setup:
| ID | Type |
| 1 | Total |
| 2 | Surly |
| 3 | Trek |
Then do a Sort by on the column of the Type by the ID.
After create a measure similar to this:
Total Value =
SWITCH (
SELECTEDVALUE ( TotalTable[Type] ),
"Total", SUM ( 'Surly/Trek'[Value] ),
CALCULATE (
SUM ( 'Surly/Trek'[Value] ),
'Surly/Trek'[Type] = SELECTEDVALUE ( TotalTable[Type] )
)
)
Result below and in attach PBIX:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsThanks bro.
Hi @Ali123 ,
The only way to make this to work is to create a new measure with the total value, I assume that you are using a column to get the Surly and Trek values on the matrix so if you create a table with the following setup:
| ID | Type |
| 1 | Total |
| 2 | Surly |
| 3 | Trek |
Then do a Sort by on the column of the Type by the ID.
After create a measure similar to this:
Total Value =
SWITCH (
SELECTEDVALUE ( TotalTable[Type] ),
"Total", SUM ( 'Surly/Trek'[Value] ),
CALCULATE (
SUM ( 'Surly/Trek'[Value] ),
'Surly/Trek'[Type] = SELECTEDVALUE ( TotalTable[Type] )
)
)
Result below and in attach PBIX:
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsIf you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 26 | |
| 22 | |
| 22 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 35 | |
| 29 | |
| 21 | |
| 19 | |
| 17 |