In SQL I would run the following script to group and get a count by date. I am struggling to achieve this creating a measure in powerBI. I have a filter on the table by offi