Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

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

1 ACCEPTED SOLUTION

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.

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@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

 

Data Format New Rib.png

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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 ScreenshotError 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.

Hi @Anonymous ,

 

The principle is that data in a column needs to be in the same data format.

Try to delete value function.

VALUE

Custom numeric formats for the FORMAT function

 

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

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.