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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi, I have 2 columns: Y is a decimal number, and "#maint. needed" should tell me how many actions I need to do in base on the number before decimals of the Y column
y= 0,005 --> # maint =0
y= 0,9 --> # maint =0
y= 1,8 --> # maint =1
y= 2,99 --> # maint =2
But my maint column is doing, like the picture:
y= 0,005 --> # maint =5
y= 0,03 --> # maint =3
I suspect it does that because of the scientific terminology, but I don't know how to fix it.
Solved! Go to Solution.
I got it, I needed to use TRUNC ()!! Thanks 🙂
It doesn't work, I tried
Did you check the data type?
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
15 | |
7 | |
5 |