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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
TomBrown
Frequent Visitor

how to calculate count of date with a filter

hello evrybody 

i have a tiketing system and im trying to calculate the "backlog" in the system/

i have a opend column ( date time ) and a resolved column (date time) 

im looking to calculate the numer of cases that where open on a any date - the number of cases that was resolved before midnight that day. 

 

any ideas ??  

1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @TomBrown 

 

Duplicate opened column and late format this column to date only 

opened date = table[opend column] 

Add another column 

resolved same day = 
IF( 
    INT( 'Table'[date] ) = INT( 'Table'[resolved column] ),
    "Yes",
    "No"
)

Add measure 

Measure = COUNTROWS( 'Table' )

 

Add all to a table visual

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn



View solution in original post

3 REPLIES 3
Mariusz
Community Champion
Community Champion

Hi @TomBrown 

 

Duplicate opened column and late format this column to date only 

opened date = table[opend column] 

Add another column 

resolved same day = 
IF( 
    INT( 'Table'[date] ) = INT( 'Table'[resolved column] ),
    "Yes",
    "No"
)

Add measure 

Measure = COUNTROWS( 'Table' )

 

Add all to a table visual

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn



amitchandak
Super User
Super User

Refer, if this can help : https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Greg_Deckler
Community Champion
Community Champion

https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/td-p/409364



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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.