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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Shared time axis on 2 different dates

Hi,

 

Here is a sample :

ticket_numbercreation dateclosure date
ticket 102/01/201902/01/2019
ticket 205/01/201906/01/2019
ticket 310/01/201911/01/2019
ticket 415/01/201917/02/2019
ticket 520/02/2019

 

 

I would like to have this :

Monthcreatedclosedbacklog
2019-01431
2019-02111

 

How can do to share the same time axis and calculate the rolling difference, please ?

 

Thanks,

Romain

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

You can create calculate column using DAX like pattern below:

Created = CALCULATE(COUNT(Table1[ticket_number]), FILTER(Table1, MONTH(Table1[creation date]) = MONTH(EARLIER(Table1[creation date]))))

Closed = CALCULATE(COUNT(Table1[ticket_number]), FILTER(Table1, MONTH(Table1[closure date]) = MONTH(EARLIER(Table1[closure date]))))

Capture.PNG  

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

You can create calculate column using DAX like pattern below:

Created = CALCULATE(COUNT(Table1[ticket_number]), FILTER(Table1, MONTH(Table1[creation date]) = MONTH(EARLIER(Table1[creation date]))))

Closed = CALCULATE(COUNT(Table1[ticket_number]), FILTER(Table1, MONTH(Table1[closure date]) = MONTH(EARLIER(Table1[closure date]))))

Capture.PNG  

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks @v-yuta-msft , that works for Created and Closed, do you have an idea how to calculate the rolling difference, please ?

Thanks

@Anonymous ,

 

Could share more details/logic about "Rolling Difference" you mentioned?

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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