Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Need help with the Format Conversion

Hello Everyone,

 

Is there any possibility to convert the "0.00%" format to a number format.

 

Since by using VALUE() function we can convert the "0" or "0,000" format to a number format.

 

Would really appreciate the help in this matter.

 

Thanks & Regards,

Harsh

  • Hi Anonymous

     

    Is this problem sloved?
    If not, please let me know.

     

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

4 Replies

  • Anonymous , just check % sign is check (In dark grey when check), then you can revert it. else you have create a new column divide by 100

     

    New Column = [Percent]/100 //number data type

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello Amit,

       

      I've written a DAX and below is the example of my DAX - 

       

      RLU Act Vs Bud = VAR Currentitem = SELECTEDVALUE(RLUKeyMeasures[Retirement Living Unit]) RETURN SWITCH(TRUE(), CurrentItem = “Occupancy” , FORMAT([RLU Act Occupancy%]-[RLU Bud Occupancy%], “0.0%”), CurrentItem = “Vacant Units”, VALUE(FORMAT([RLU Act Vacant Units] -1+[RLU Bud Vacant Units], “0”)), CurrentItem = “Vacant units recurrent charges”, VALUE(FORMAT([RLU Act Vacant Units Recurrent charges] -1+[RLU Bud Vacant Units Recurrent charges], “0,000”)), BLANK())

       

      In this I've used VALUE() Function in order to convert the format of "0" or "0,000" but not able convert the "0.00%" since it throws back the back stating that it cannot the "XX.XX%" type text to the number.

       

      Here's the screen shot attached for the reference.

       

      Thanks & Regards,

      HarshError Screenshot