Forum Discussion

Betsy's avatar
Betsy
Icon for Helper IV rankHelper IV
10 years ago
Solved

CALCULATE/COUNTROWS and date filter issue

Hi!   I have a complicated model, where one of the things I have calculated is the number of times a student says "stop" to opt out of our service.  What I need to do now is look at these stops ove...
  • BhaveshPatel's avatar
    BhaveshPatel
    10 years ago

    calc1= CALCULATE([totalrows],Student_export[Active]="FALSE",FILTER(comresponse_export,comresponse_export[Package ID]="0"))

     

    totalrows = COUNTROWS('student_export')

     

    calc2= CALCULATE([totalrows],Student_export[Active]="FALSE",FILTER(comresponse_export,comresponse_export[Package ID]="0"&& comresponse_export[Text]="Stop"))

     

    You can use filter instead of directly passing on the filtermore filters