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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
davidthegnome
New Member

Report ticket opened within 30 days of hire date

Hello,

 

I am trying to calculate the number of tickets users have opened within 30 days of their hire date. I have a date column with the hire date and one with the ticket numbers (set to show as a count). Each user has a different hire date, so I can't use a filter for relative to today.

 

How can I filter the count of tickets per user relative to their individual hire date?

 

Thank you in advance.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Can you try this?

CALCULATE(COUNT(Tickts[Tkt_no]),DATEADD(Dates[Date],-30,DAY)

 

Depenns on you data, you may need to use SUM.

 

CALCULATE(SUM(Tickts[Tkt_no]),DATEADD(Dates[Date],-30,DAY)

 

Thanks

Raj

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Can you try this?

CALCULATE(COUNT(Tickts[Tkt_no]),DATEADD(Dates[Date],-30,DAY)

 

Depenns on you data, you may need to use SUM.

 

CALCULATE(SUM(Tickts[Tkt_no]),DATEADD(Dates[Date],-30,DAY)

 

Thanks

Raj

davidthegnome
New Member

Hello,

 

I am trying to calculate the number of tickets users have opened within 30 days of their hire date. I have a date column with the hire date and one with the ticket numbers (set to show as a count). Each user has a different hire date, so I can't use a filter for relative to today.

 

How can I filter the count of tickets per user relative to their individual hire date?

 

Thank you in advance.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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