Running Rate
Hi folks,
hoping someone can help me with a Running Rate.
I have pasted an example of how I have accomplished this in Looker, but I cant seem to figure it out in Sisense.
To Level set, in my Dashboard I have a Date Filter called Placement Dates.
I then want to calculate the Running Cure Rate by DE Length
to calculate the running cure, in Looker I would do a running sum of accounts that have cured/total placements(for the time period selected in the filters)
this is what it looks like.
DE_Length | Champion Running Cure Percentage | Challenger Running Cure Percentage |
0 | 0.12% | 0.12% |
1 | 17.97% | 17.58% |
2 | 23.96% | 24.80% |
3 | 30.42% | 30.85% |
4 | 36.05% | 36.47% |
5 | 41.33% | 40.71% |
6 | 44.51% | 43.84% |
7 | 49.15% | 47.80% |
I cant seem to do the same in Sisense.
Thanks DRay to tag me !
MikeG , you can see each row as an individual calculation. For each of them, the engine applies a filter on DE_LENGTH. So the cells on first row are calculated with DE_LENGTH=0, second row DE_LENGTH=1, and so on.
In order to have a calculation not being influenced by this filter (Power BI would call it context) you need to add a filter to your measure : , all([DE_Length]) )
So in your pivot : [Running Cures] / ([Total Placements] , all ([DE_Length]) )
Be careful, if you use explicitly SUM, it would be :
[Running Cures] / (SUM ([Placements]) , all ([DE_Length]) )
Hope this helps.
Best,David.