Forum Discussion
Anonymous
6 years agoNot applicable
Number Format - Total
Hi all, I need to know how to remove total on the "Number Format" column Number Format = IF(SUM('Table'[Number]) = INT (Sum('Table'[Number])), FORMAT(SUM('Table'[Number]),"#,#"), FORMAT(...
- Anonymous6 years ago
Finally its works with
Column = IF ( Table[Number] = INT ( Table[Number] ), FORMAT ( Table[Number], "#,#" ), FORMAT ( Table[Number], "#,0.00" ) )
Anonymous
6 years agoNot applicable
much appreciate your reply
in my "number format " Column's options shown like this,
sivapandi
6 years agoHelper I
Hi.,
Check your data type in modeling tab for that particular coloumn. It should not be text . it should be a decimal.
Thanks
- Anonymous6 years agoNot applicable
It's in Text Format because of this
Number Format = IF(SUM('Table'[Number]) = INT (Sum('Table'[Number])),FORMAT(SUM('Table'[Number]),"#,#"),FORMAT(SUM('Table'[Number]),"#,0.00"))
and its a requirement to fulfill- sivapandi6 years agoHelper I
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" ) ) )- Anonymous6 years agoNot applicable
Finally its works with
Column = IF ( Table[Number] = INT ( Table[Number] ), FORMAT ( Table[Number], "#,#" ), FORMAT ( Table[Number], "#,0.00" ) )