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 was wondering if you could help me please. I want to create a measure called z_15min Commission the counts all the SSRef fields where there is 00:15:00 in the Planned Duration field. Planned Duration is a Time format field . I tried below but get an error.
Thank you very much
Solved! Go to Solution.
z_15min Commission = CALCULATE(
COUNTA('Procurement_Main_Data'[SSRef]),
'Procurement_Main_Data'[Planned Duration]>= TIMEVALUE("00:00:00")&&
'Procurement_Main_Data'[Planned Duration]<= TIMEVALUE("00:17:00")
)
no need to copy measure and paste. must be written by hand
I didn't understand you, is that what you mean?
z_15мин Комиссия = РАСЧЕТ(
COUNTA('Procurement_Main_Data'[SSRef]),
'Procurement_Main_Data'[Запланированная продолжительность] = TIMEVALUE("00:17:00"))
Hi no . I want to Count SSRef where the 'Procurrment Main Data'[Planned Duration] is between 00:00:00 and 00:17:00
thank you
z_15min Commission = CALCULATE(
COUNTA('Procurement_Main_Data'[SSRef]),
'Procurement_Main_Data'[Planned Duration]>= TIMEVALUE("00:00:00")&&
'Procurement_Main_Data'[Planned Duration]<= TIMEVALUE("00:17:00")
)
I get this error message
no need to copy measure and paste. must be written by hand
Thank you - your a star
write like this:
z_15min Commission = CALCULATE(
COUNTA('Procurement_Main_Data'[SSRef]),
'Procurement_Main_Data'[Planned Duration]= TIMEVALUE("00:15:00"))
That is great thank you.
What would the DAX be if I wanted the Planned Duration between 0 and 17 mins as opposed to 15mins please?
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 |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 45 | |
| 28 | |
| 24 | |
| 22 |