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
Hello Experts,
I am facing an issue while using the simple Divide fuction. Some of the rows returns correct results while some returns incorrect results as shown in the below screenshot.. I have also tried in other ways by using variables but no luck. Kindly help me out of it.
Regards,
Ajay Emmadi
Solved! Go to Solution.
Give this a try, see if it works.
MAP Value =
DIVIDE (
ROUND ( SUM ( 'Planning Dashboard'[Closing StockValue] ), 2 ),
ROUND ( SUM ( 'Planning Dashboard'[Closing Stock] ), 2 ),
0
)
Give this a try, see if it works.
MAP Value =
DIVIDE (
ROUND ( SUM ( 'Planning Dashboard'[Closing StockValue] ), 2 ),
ROUND ( SUM ( 'Planning Dashboard'[Closing Stock] ), 2 ),
0
)
@Anonymous
I am betting that the ones that look like wrong actually have a very small number after the decimal so it is not 0, it is 0.0000056 or something like that.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |