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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I am troubleshooting why my code doesnt work and I notice this:
If i put > 40
doesnt work!!!
I need to write > 41 to filter out those "40" , why is this??
This is the source from sql server (it adds to 40, not more!)
Solved! Go to Solution.
It's possible that floating-point math is making it very slightly larger than 40. To check you can try rounding [summ] before comparison.
Try writing this instead to round to two decimal places:
ROUND ( [summ], 2 ) > 40
It's possible that floating-point math is making it very slightly larger than 40. To check you can try rounding [summ] before comparison.
Try writing this instead to round to two decimal places:
ROUND ( [summ], 2 ) > 40
User | Count |
---|---|
9 | |
8 | |
6 | |
4 | |
3 |