cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Users who have not opened a ticket for the last 60 days

Hi, 

I want to create a measurement that calutates if a user (assigned_to) has opened any ticket (number) within the last 60 days.

The column Open days calulates how many days the ticket has been opened. 

 

Notice that I have alot of tickets (number) and diffrent users (assigned_to). So if a any ticket that is connected to a specfic user has been opened within the last 60 days the measurement should show this name.

 

I also want the measurement to divide it in to active user (user that have opened a ticket within 60 days) and inactive user (user that have not opened a ticket within 60 days). 

 

If you a suggestion how to create this measurement I am glad to know, beacuse I can't figureit out how to creat one.

 

Regards,

Albin

 

Ticket opened.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Super User IV
Super User IV

Re: Users who have not opened a ticket for the last 60 days

You could do something like this column:

 

Column = 
VAR __table = FILTER(ALL('Table'),[opened_by] = EARLIER([opened_by]) && [Open days] <=60)
IF(ISBLANK(COUNTROWS(__table)),"inactive","active")

I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

1 REPLY 1
Super User IV
Super User IV

Re: Users who have not opened a ticket for the last 60 days

You could do something like this column:

 

Column = 
VAR __table = FILTER(ALL('Table'),[opened_by] = EARLIER([opened_by]) && [Open days] <=60)
IF(ISBLANK(COUNTROWS(__table)),"inactive","active")

I have book! Learn Power BI from Packt


Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors