Forum Discussion
Need help with the Format Conversion
- 6 years ago
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.
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
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.