Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Issue with cumulative count

Hi All,    I'm encountering a slight issue with my calculation. I have the below table. I need to get a cumulative count where Proposal Type = A, however, i need to ignore the rows where Proposal D...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi Anonymous 

    try it

    CALCULATE (
    COUNTROWS ( FILTER ( 'ProposalData', 'ProposalDate[ProposalType] = "A" && 'ProposalData'[ProposalDate] <> BLANK() ) ),
    FILTER(ALL('ProposalData'), 'ProposalData'[ProposalDate] <= MAX('ProposalData'[ProposalDate])))