Forum Discussion

another1here's avatar
another1here
Frequent Visitor
10 years ago
Solved

How to calculate ongoing weekly totals per data type

Hi - I have raw data (see image below) with dates of applicants and how they came to enter our database ("Origin").       What I am attempting to do, is to break this into weekly data sets ...
  • Greg_Deckler's avatar
    10 years ago

    Well, you will likely want to use WEEKNUM function to help group the weeks:

    https://msdn.microsoft.com/en-us/library/ee634572.aspx

     

    Then, you will likely want to create a measure like:

     

    Applicants = COUNT([Candidate Name])

    And then three measures like:

    Applied = CALCULATE([Applicants],FILTER([Origin]="applied"))
    Sourced = CALCULATE([Applicants],FILTER([Origin]="sourced"))
    Referred = CALCULATE([Applicants],FILTER([Origin]="referred"))