Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi Team,
I have sales amount column ,
my requerment is Sales amount <10 we need 2 decimals
ex. 1.35,8.55,9.27 ...... like that
After that sales amount >=10 we dont need decimals we want only Integer number.
I have tried this below queries but >10 its showing .00 decimals.
Please help me.
Sales_amount |
1.67 |
2.88 |
3.43 |
10.56 |
11.29 |
100.58 |
256.19 |
9.37 |
6.10 |
Solved! Go to Solution.
did you add an if statement?
if sales_amount <10 then "0" else "0.00"
You can use Dynamic Format strings and an "if" statement. Here is a tutorial
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-dynamic-format-strings
Thank you,
I have tried Dynamic format . its not working . its showing like 90.00 . I need only 90.
did you add an if statement?
if sales_amount <10 then "0" else "0.00"
Thank you so much