Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Calculation based on time condition

Hi experts,

 

I am trying to count how many meetings happens after 07:00:00PM, for that I am using the formula:

 

Late_Meeting = CALCULATE(COUNTX(Gilly_Meetings;[End Time])>time(19;0;0))

 

My End Time column format is like:

 

17:00:00

15:00:00

21:00:00

 

However the formula keep showing True as result. Any suggestions?

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

I used a custom column like this:

 

Late_Meeting = IF([Time]>time(19,0,0),1,0)


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

I used a custom column like this:

 

Late_Meeting = IF([Time]>time(19,0,0),1,0)


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.