The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
80 | |
73 | |
39 | |
30 | |
28 |
User | Count |
---|---|
107 | |
99 | |
55 | |
49 | |
46 |