Forum Discussion
SriGaG1
Helper II
4 years agoAverage Constant line creation is not working
I have created a line graph which is filtered using a date range picker. . And the chart is getting dynamially changed when we are back dating the values. Aditionally I needed an average value for La...
- 4 years ago
Hi
I think it is due to use ALL function, that will clear all Date filter in your whole page. So, try this one
Avg sales = CALCULATE( IFERROR(
[LY Sales]/[Measurecal],
BLANK()
), ALLSELECTED('Date'[Date]))
SriGaG1
Helper II
4 years agoHoangHugo Hello,
Thanks for the reply. No its not working.
When I turned that one to a table,
What could be the issue for this? The total value need to be populated in every row.
HoangHugo
Solution Specialist
4 years agoDid you follow me? only need change ALL to ALSELECTED.
See updated file, link below
https://drive.google.com/file/d/1eykhH1Md7m7jA-JeofZNVzjXkWt8JpRj/view?usp=sharing