Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Abhi999
Contributor III
Contributor III

last 6 weeks same day avg.

I am trying with same expression(Only( Aggr(  Sum(Total<Weekday> Value) / count(Total<Weekday> DISTINCT Date) , Weekday, Date))) for last six weeks. but unfortunately we are not getting expected result.

cloud you help me for last 6 weeks same day avg.

Example:  today beeing monday i want to calculate what will be the avg of last 6 mondays, same for other days.

 

Trying to show combo chart, in combo chart bars i want to show actulas and in trend line i want to show if it monday last 6 monday's avg, if it tues day last 6 tuesday's avg.

3 Replies
Abhi999
Contributor III
Contributor III
Author

No

Brett_Bleess
Former Employee
Former Employee

Have a look at the following Design Blog post, it may get you on the right track or help you get things sorted, you may need to search the other posts in this area for other items to help as well, so I will post the main link too, which you can use to further search those posts:

https://community.qlik.com/t5/Qlik-Design-Blog/Average-Which-average/ba-p/1466654

https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog

There are likely multiple ways to approach this one, so it will likely be helpful if you can attach QVW file for folks to see the data model etc. too.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.