Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Cumulative Total on a Calculated Measure where data is not null With in a specific Data range

 

Hi Gurus,
Need a help on below,

I ned to caluculate Cumulative Total on a Calculated Measure per each Category and Country wher the data is not null With in a specific Data range

In the below example 
my Current DAX is here 

C Total=
CALCULATE (
DISTINCTCOUNT('Table'[ID] ),
FILTER (
'Table',
AND( 'Table[IsAccountActive] <> "False", 'TAble'[Flag]="True")),'Table'[opted]>0,'Table'[ID]<>BLANK()
)
 
I need this formula to be Cummlative total eg: in below screen shot ,
Expected result :
For USA and SAles with in Column E ,
Row 10 should be 18,
Row 11 should be 33,
row 12 should be blank as it does not have a value 
should folow same for remaining

 

3 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for the reply, this is working now

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous 

     

    Is the screenshot showing the result of current measure? Can you provide some sample data in a format we can copy?