This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I'm using MROUND to assist in preparing a purchase forecast to give to a supplier based upon our sales forecast and their minimum order quantity.
The basic dax for my column is:
IF( Column A = "parameter X", MROUND( [forecasted sales units], [minimum order quantity] ) )
However, there is a remark for MROUND: MROUND rounds up, away from zero, if the remainder of dividing number by the specified multiple is greater than or equal to half the value of multiple.
In my case, let's say the forecasted sales units = 4 per month and the minimum order quantity = 9. The dax is rounding down based upon the remark but I would prefer it to always round up to the multiple.
Is it possible to basically combine MROUND (for the multiple) and ROUNDUP?
Thanks,
Solved! Go to Solution.
You should be able to use the CEILING function for this purpose:
CEILING ( [forecasted sales units], [minimum order quantity] )
Regards,
Owen
You should be able to use the CEILING function for this purpose:
CEILING ( [forecasted sales units], [minimum order quantity] )
Regards,
Owen
Perfect, Owen. This is exactly the dax I was looking for.
Thanks!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 7 | |
| 6 | |
| 6 |