Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Pie chart for previous week

Hi,

I have a requirement to create a pie chart showing the total user count according to the POD name week wise.

I have closing dates of the user count.

The week ending should be Friday and the total user count for the week from sat-Fri should be displayed in the chart.

It has to dynamically change next week.

please give solution for this.

1 Solution

Accepted Solutions
calexandru
Partner - Contributor III
Partner - Contributor III

Hi Dhivya,

This is far from the most elegant approach but you could you set analysis to solve your issue, something along the lines of:

Count(DISTINCT {$<DateField={">=$(=WeekStart(Today()-7))<=$(=Date(Weekstart(Today() - 7)+4))"}>}Users)

With regards,

Alex

View solution in original post

4 Replies
woshua5550
Creator III
Creator III

Not sure but hope this could help you

if I misunderstood you plz let me know

calexandru
Partner - Contributor III
Partner - Contributor III

Hi Dhivya,

This is far from the most elegant approach but you could you set analysis to solve your issue, something along the lines of:

Count(DISTINCT {$<DateField={">=$(=WeekStart(Today()-7))<=$(=Date(Weekstart(Today() - 7)+4))"}>}Users)

With regards,

Alex

Anonymous
Not applicable
Author

Thank you...

It worked well:)

Anonymous
Not applicable
Author

Thank you for  ur reply:)

But I wanted the data for the previous week to be loaded in the pie chart dynamically:)