cancel
Showing results for 
Search instead for 
Did you mean: 

RSUM returning errors for query

amelia
10 - ETL
10 - ETL

Hi! When I try to do the RSUM calculation for this metric, there is an error. I am trying to do a running sum of the number of ids, but I need to filter it based on a condition. The calculation is this: RSUM(COUNT([id]), [filter]) and the error is in the screenshot!

2 ACCEPTED SOLUTIONS

Angelina_QBeeQ
10 - ETL
10 - ETL

Hi @amelia ,
try this one :
 RSUM( (COUNT([id]), [filter])  )

View solution in original post

harikm007
13 - Data Warehouse
13 - Data Warehouse

Hi @amelia ,

Try adding one more pair of brackets:

RSUM((COUNT([id]), [filter]))

One pair is for COUNT and filter and other is for RSUM

 

-Hari

View solution in original post

4 REPLIES 4

Angelina_QBeeQ
10 - ETL
10 - ETL

Hi @amelia ,
try this one :
 RSUM( (COUNT([id]), [filter])  )

Thanks for the fast reply!!

harikm007
13 - Data Warehouse
13 - Data Warehouse

Hi @amelia ,

Try adding one more pair of brackets:

RSUM((COUNT([id]), [filter]))

One pair is for COUNT and filter and other is for RSUM

 

-Hari

thank you!!