Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all,
I need to know how to remove total on the "Number Format" column
Solved! Go to Solution.
Finally its works with
Column = IF ( Table[Number] = INT ( Table[Number] ), FORMAT ( Table[Number], "#,#" ), FORMAT ( Table[Number], "#,0.00" ) )
much appreciate your reply
in my "number format " Column's options shown like this,
Hi.,
Check your data type in modeling tab for that particular coloumn. It should not be text . it should be a decimal.
Thanks
It's in Text Format because of this
Hai.,
Ignore my earlier post...this will work....
Number Format =
VAR X =
COUNTROWS ( VALUES ( 'Table'[Custom] ) )
RETURN
IF (
X > 1,
"",
IF (
SUM ( 'Table'[Number] ) = INT ( SUM ( 'Table'[Number] ) ),
FORMAT ( SUM ( 'Table'[Number] ), "#,#" ),
FORMAT ( SUM ( 'Table'[Number] ), "#,0.00" )
)
)
Finally its works with
Column = IF ( Table[Number] = INT ( Table[Number] ), FORMAT ( Table[Number], "#,#" ), FORMAT ( Table[Number], "#,0.00" ) )
User | Count |
---|---|
85 | |
79 | |
64 | |
52 | |
46 |
User | Count |
---|---|
101 | |
44 | |
41 | |
39 | |
36 |