Forum Discussion

Rocky_Brown's avatar
Rocky_Brown
Icon for Helper I rankHelper I
5 years ago
Solved

What chart or graph do i use to compare time between dates?

I have the following data:

 

Created Date

Invoiced Date

Region

 

I want to chart out somethng like

                                                 ---------------------------------------created date

                                                 ---------------------------------------Invoice Date

                                                                Region

In a line chart.  Can this be done?  

 

Cant figure out how to bring in the data

 

The lines will fluctuate depending on days between invoice date and created date.

 

  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi Rocky_Brown 

    You can calculate the diff between two dates .

    Region = DATEDIFF(SELECTEDVALUE('Table'[Created Date]),SELECTEDVALUE('Table'[Invoiced Date]),DAY)

    Then add a line chart , use [name] as Axis ,[region] as value .

    The effect is as shown:

    Best Regards

    Community Support Team _ Ailsa Tao

     

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

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Rocky_Brown 

    You can calculate the diff between two dates .

    Region = DATEDIFF(SELECTEDVALUE('Table'[Created Date]),SELECTEDVALUE('Table'[Invoiced Date]),DAY)

    Then add a line chart , use [name] as Axis ,[region] as value .

    The effect is as shown:

    Best Regards

    Community Support Team _ Ailsa Tao

     

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