cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Super User

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
Super User

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
October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 274 members 2,625 guests
Please welcome our newest community members: