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! It's time to submit your entry. Live now!
Hi,
Please help - how can I add roundup in this - DATEDIFF(Clean[shipmentDate],Clean[Scan Event Date],DAY)
I am getting an error when I tried to add Roundup(DATEDIFF(Clean[shipmentDate],Clean[Scan Event Date],DAY))
Thank you for your help!
@djreyes Roundup(DATEDIFF(Clean[shipmentDate],Clean[Scan Event Date],DAY),0)
I think I am doing something wrong, in my fields I changed from sum to average. I did add your what you said and its still showing decimal places.
Hi @djreyes
@Greg_Deckler's formula is correct but you seem to be using it the wrong way. Average of whole numbers can still return decimals unless you make the average itself roundup or down to the nearest whole number.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 41 | |
| 39 | |
| 22 | |
| 21 |
| User | Count |
|---|---|
| 144 | |
| 106 | |
| 64 | |
| 38 | |
| 31 |