Forum Discussion

JoshuaMartinezP's avatar
JoshuaMartinezP
Regular Visitor
3 years ago
Solved

Calculate working days from multiple rows on the same date

Hi, I am using the day name from a Date column to work out whether it is a 'Work Day' or not: 2 measures are as follows: TS Day Name = FORMAT('Vessel Support Data'[Date], "dddd") TS is wo...
  • Greg_Deckler's avatar
    Greg_Deckler
    3 years ago

    JoshuaMartinezP Try this. PBIX is attached below signature.

    No. of Work Days = COUNTROWS(DISTINCT(SELECTCOLUMNS(FILTER('Table', [TS is work day] = TRUE),"Date",[Date])))