This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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êsCheck out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 29 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 39 | |
| 33 | |
| 24 | |
| 23 |