Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

What is this format string?

I have a measure with this Format string.

 

Format: Custom

Foormat String: #,##0.00;-#,##0.00;0.00

 

I dont understand what the  does... Also, are the # wildcards?

  • Hi Anonymous ,

     

    For your confusion, A format expression for strings can have one section or two sections separated by a semicolon (;)

     


    "#" is a form of User-defined numeric formats.


    If you still have problems, please point out. Looking forward to your reply.


    Best Regards,
    Henry


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

3 Replies

  • v-henryk-mstf's avatar
    v-henryk-mstf
    Community Support

    Hi Anonymous ,

     

    For your confusion, A format expression for strings can have one section or two sections separated by a semicolon (;)

     


    "#" is a form of User-defined numeric formats.


    If you still have problems, please point out. Looking forward to your reply.


    Best Regards,
    Henry


    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Anonymous, Just for the clarification take any list of values (with different sample of digits) and apply that mentioned formatting on new calculated column. Attached SS for your reference:

    New Calculated Column  =  FORMAT(Tbl2[Value],"#,##0.00;-#,##0.00;0.00")