Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!