Forum Discussion
Justas4478
Post Prodigy
1 year agoRemoving decimals from values while keeping for totals
Hi, I have table that has some counts. However I cant find a way how I could remove delimal points from values in red square while keeping decimal points for values in green square. I tried couple ...
- 1 year ago
Unfortunately, with live connection, you will need to apply the dynamic format string to the measure in the semantic model itself. Alternatively, you can create another measure that returns a formatted text instead
IF ( NOT ( HASONEVALUE ( Geo[Geo] ) ), FORMAT ( [my measure], "#,#.00" ), FORMAT ( [my measure], "#,#" ) )
danextian
Super User
1 year agoUnfortunately, with live connection, you will need to apply the dynamic format string to the measure in the semantic model itself. Alternatively, you can create another measure that returns a formatted text instead
IF (
NOT ( HASONEVALUE ( Geo[Geo] ) ),
FORMAT ( [my measure], "#,#.00" ),
FORMAT ( [my measure], "#,#" )
)
Justas4478
Post Prodigy
1 year agodanextian It works thanks for the solution.
To bad that it doubles refresh time.
But I guess this is only option I have.