cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

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

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: Need help with the Format Conversion

Hi @harjoshi1

 

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
Highlighted
Super User IX
Super User IX

Re: Need help with the Format Conversion

@harjoshi1 , 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



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Highlighted
Helper II
Helper II

Re: Need help with the Format Conversion

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

Highlighted
Microsoft
Microsoft

Re: Need help with the Format Conversion

Hi @harjoshi1 ,

 

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.

Highlighted
Microsoft
Microsoft

Re: Need help with the Format Conversion

Hi @harjoshi1

 

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

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors