Forum Discussion

tsuggs1's avatar
tsuggs1
Helper I
6 years ago
Solved

Using DateDiff to find days between two dates in the same column using another column as a filter.

Hi all,   I am having issues with finding the days between two dates that are in the same column.   Basically the table has a column called 'actualTime' that has a date and another column called ...
  • tsuggs1's avatar
    tsuggs1
    6 years ago

    Hi,

     

    Thanks for the response.

     

    I essentially found a solution using the same concept however I did it in a much simpler way using the GUI built into Power BI. I duplicated the table and filtered the original by the code I wanted. Then I filtered the duplicated table to the secondary code I needed. After that I created a relationship between the two tables and was able to pull the dates into my DATEDIFF formula to produce the number of days between. Everything seems to be working great!

     

    Thanks again.