March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Dear All,
Please help me to solve this problem. There are including percentages( 0.96 ) and numbers (3100) in a column. So, i want to convert percenatage 0.96 to 96%. Therefore, I add custum column with below formula.
if [Value] = null then null else if [Value]=">95%" then ">95%" else if [Value] <= 1 then Number.ToText([Value] * 100) & "%" else Number.ToText([Value])
The result is
From to
It is worked in some percentage but I have a problem in some results like 7.00000000007%, 55.00000000007 and 19.9.000000000%, 3.500000004%
Best Regards,
Solved! Go to Solution.
Please try the below code:
NewColumn =
IF (
ISBLANK ( [Value] ),
BLANK (),
IF (
[Value] = ">95%",
">95%",
IF (
[Value] <= 1,
FORMAT ( [Value] * 100, "0.00%" ),
FORMAT ( [Value], "0.00%" )
)
)
)
Best Regards,
Ajith Prasath
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please try the below code:
NewColumn =
IF (
ISBLANK ( [Value] ),
BLANK (),
IF (
[Value] = ">95%",
">95%",
IF (
[Value] <= 1,
FORMAT ( [Value] * 100, "0.00%" ),
FORMAT ( [Value], "0.00%" )
)
)
)
Best Regards,
Ajith Prasath
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you very much for your help!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
23 | |
16 | |
12 | |
9 | |
7 |
User | Count |
---|---|
38 | |
32 | |
28 | |
12 | |
11 |