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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a table that is transponsed from Rows to Column to Colum to Rows. Is it possible to change data type on specific rows from a transposed table.
Here is the transposed table:
Thank you
Solved! Go to Solution.
Hi @Anonymous ,
Please refer to my pbix to see if it helps you.
Create two measures.
2022/01 =
VAR small_0 =
IF (
MAX ( 'Table'[2022/January] ) < 1,
FORMAT ( MAX ( 'Table'[2022/January] ), "percent" ),
MAX ( 'Table'[2022/January] )
)
VAR _large_0 =
IF (
MAX ( 'Table'[2022/January] ) > 1,
FORMAT ( MAX ( 'Table'[2022/January] ), "0.0000" ),
MAX ( 'Table'[2022/January] )
)
RETURN
IF ( MAX ( 'Table'[2022/February] ) < 1, small_0, _large_0 )
2022/02 =
VAR small_0 =
IF (
MAX ( 'Table'[2022/February] ) < 1,
FORMAT ( MAX ( 'Table'[2022/February] ), "percent" ),
MAX ( 'Table'[2022/February] )
)
VAR _large_0 =
IF (
MAX ( 'Table'[2022/February] ) > 1,
FORMAT ( MAX ( 'Table'[2022/February] ), "0.0000" ),
MAX ( 'Table'[2022/February] )
)
RETURN
IF ( MAX ( 'Table'[2022/February] ) < 1, small_0, _large_0 )
If I have misunderstood your meaning, please provide your pbix file and desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please refer to my pbix to see if it helps you.
Create two measures.
2022/01 =
VAR small_0 =
IF (
MAX ( 'Table'[2022/January] ) < 1,
FORMAT ( MAX ( 'Table'[2022/January] ), "percent" ),
MAX ( 'Table'[2022/January] )
)
VAR _large_0 =
IF (
MAX ( 'Table'[2022/January] ) > 1,
FORMAT ( MAX ( 'Table'[2022/January] ), "0.0000" ),
MAX ( 'Table'[2022/January] )
)
RETURN
IF ( MAX ( 'Table'[2022/February] ) < 1, small_0, _large_0 )
2022/02 =
VAR small_0 =
IF (
MAX ( 'Table'[2022/February] ) < 1,
FORMAT ( MAX ( 'Table'[2022/February] ), "percent" ),
MAX ( 'Table'[2022/February] )
)
VAR _large_0 =
IF (
MAX ( 'Table'[2022/February] ) > 1,
FORMAT ( MAX ( 'Table'[2022/February] ), "0.0000" ),
MAX ( 'Table'[2022/February] )
)
RETURN
IF ( MAX ( 'Table'[2022/February] ) < 1, small_0, _large_0 )
If I have misunderstood your meaning, please provide your pbix file and desired output.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, if we use the above calculation then the Totals are not summing up its just picking up the maximum value from the list, can you please let me know how we can have the totals that sums up as well?
This is what is needed!!! Thank a lot!!!!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 53 | |
| 42 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 106 | |
| 44 | |
| 32 | |
| 24 |