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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.