Forum Discussion
Removing Outliers
- 10 years ago
That reads as: In some context (CALCULATE), is the SUM > 5000?
I think you want:
Revenue Month = CALCULATE(SUM('GA Ecommerce'[Revenue]), 'GA Ecommerce[Revenue] < 5000,PARALLELPERIOD('GA Ecommerce'[Date],0,MONTH)) - 10 years ago
Hi procyon82,
Now what you need is removing outliers at daily level instead of individual transactions level, right?
If that is the case, you can add a new table to sum up the revenue at daily level by using SUMMRIZE function. I have tested it on my local environment, here is the sample expression for you reference.
DailyRevene = SUMMARIZE(Daily,Daily[Date],"Daily total",SUM(Daily[Sales]))
Then you can remove the outliers on daily level in this new created table.
Regards,
Charlie Liao
That reads as: In some context (CALCULATE), is the SUM > 5000?
I think you want:
Revenue Month = CALCULATE(SUM('GA Ecommerce'[Revenue]), 'GA Ecommerce[Revenue] < 5000,PARALLELPERIOD('GA Ecommerce'[Date],0,MONTH))
Got it to work. I am not sure what I was doing wrong earlier, but I started from scratch.
The only issue right now is that it's looking at daily revenue and not individual transactions, so I just gotta figure that out.
- v-caliao-msft10 years ago
Microsoft Employee
Hi procyon82,
Now what you need is removing outliers at daily level instead of individual transactions level, right?
If that is the case, you can add a new table to sum up the revenue at daily level by using SUMMRIZE function. I have tested it on my local environment, here is the sample expression for you reference.
DailyRevene = SUMMARIZE(Daily,Daily[Date],"Daily total",SUM(Daily[Sales]))
Then you can remove the outliers on daily level in this new created table.
Regards,
Charlie Liao
- procyon8210 years ago
Resolver I
No, I wasn't looking for outliers by looking at daily totals. I was looking for individual transactions that would skew my averages.