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 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 🙂
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 |
|---|---|
| 31 | |
| 24 | |
| 23 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 63 | |
| 38 | |
| 28 | |
| 23 | |
| 22 |