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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 65 | |
| 52 | |
| 45 | |
| 23 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 113 | |
| 50 | |
| 37 | |
| 30 |