Forum Discussion

gigi97's avatar
gigi97
Regular Visitor
2 years ago

arithmetical average

Hello,
I built this dax formula to calculate the average. to prevent it from changing for each row I inserted all. I then filtered by incremental to get an average based on incremental only. However, I would also like the average to change based on the year I select as the filter. Only the way I set it up doesn't work CALCULATE((AVERAGEX(ALL('TABEL COMPLETED'), 'TABEL COMPLETED'[GM LC/KG])),'TABEL COMPLETED'[Scenario]="Incremental")
how can i do this?
thank you

2 Replies