This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I am trying to create a measure for % On Time Delivery.
I have a column that lists the number of days a task takes. Our goal is under 90. I tried writing a measure that was:
% OTD = DIVIDE(COUNTAX('board-Query', 'board-Query'[Lot Disposition Duration] < 90), COUNTROWS('board-Query'))
But I keep getting 100% or over 100%...which is not true!!! 😞
How do I count the number of rows who's values are 90 or less?
Thanks 🙂
Solved! Go to Solution.
You're using 'board-Query'[Lot Disposition Duration] < 90 as the expression that you're counting.
Try this:
% OTD = DIVIDE(COUNTROWS(FILTER('board-Query', 'board-Query'[Lot Disposition Duration] < 90)), COUNTROWS('board-Query'))
You're using 'board-Query'[Lot Disposition Duration] < 90 as the expression that you're counting.
Try this:
% OTD = DIVIDE(COUNTROWS(FILTER('board-Query', 'board-Query'[Lot Disposition Duration] < 90)), COUNTROWS('board-Query'))
Thank you 🙂
Check out the May 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 |
|---|---|
| 32 | |
| 25 | |
| 25 | |
| 24 | |
| 15 |
| User | Count |
|---|---|
| 61 | |
| 48 | |
| 27 | |
| 23 | |
| 20 |