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
HibaTalat
Regular Visitor

Urgent!! i need help in calculating the age of jira ticket in each status stage

Hey all,
I have created a date and from that, I can calculate the age of the ticket. The idea is to see which stage is problematic and I am want to calculate in form of #days

Following is the view I want for my dashboard:

 

Status 1status2 Status 3Status 4
Fast Fast Fast Fast 
SlowSlowSlowSlow
AverageAverageAverageAverage

Fast – the least amount of time ticket
stayed in this status

Slow- the max amount of time a ticket
stayed in this status

Average – the average amount of time a
ticket stayed in this status

Please note that I am new to PBI and I am using Desktop Report Server

1 ACCEPTED SOLUTION

Steps i followed 

1. In the "Fields" pane on the right side of the screen, click on the "New Column" button. created a column of date difference = datediff(table[created], today(), day)

2. Then put this on rows I placed status 

3. Values I dragged date difference and use functions to calculate avg, max and min

Please verify if it will work fine. i don't know if the procedure I followed Is correct

View solution in original post

2 REPLIES 2
Idrissshatila
Super User
Super User

Hello @HibaTalat ,

 

You could start by creating a column where you get the age of the ticket using datediff function.

 

check this link for reference https://learn.microsoft.com/en-us/dax/datediff-function-dax

 

Then you create an if and else column based on the age column, where you state that if age less tha X then slow else if its greater than y then fast else average.

Refer for this link for the if & else function https://learn.microsoft.com/en-us/dax/if-function-dax

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

 

Follow me on Linkedin



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Steps i followed 

1. In the "Fields" pane on the right side of the screen, click on the "New Column" button. created a column of date difference = datediff(table[created], today(), day)

2. Then put this on rows I placed status 

3. Values I dragged date difference and use functions to calculate avg, max and min

Please verify if it will work fine. i don't know if the procedure I followed Is correct

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.