Forum Discussion

juan_botero8's avatar
juan_botero8
New Member
2 years ago
Solved

Calculate days between two dates without duplicating days

Hi all! I have created a matrix with a summary of information, it has two date fields and a calculation of days using the DATEDIFF function. The problem is that I need to count the days without dupl...
  • danextian's avatar
    danextian
    2 years ago

    I can't think of anything else other than using PQ to create rows of dates using the  from and to date columns and then get the distinct count of those new dates so they are not counted multiple times in the total. Please see sample pbix.