Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2067

Re: Year to Date and Last Full Week in same chart?

$
0
0

Hi Cheryl,

 

Modify the Record Selection Formula to bring in data for the last 365 days. It would look like this:

 

{Date Field} IN DateAdd('d', -365, CurrentDate) To CurrentDate

 

Now, a simple count on the Patient Field should give the Patients seen in the last 365 days.

 

You'd, however, need a formula for Last Full Week. Create a formula with this code:

 

If {Date Field} IN LastFullWeek then

{Field to Count}

 

Use this formula field with a Distinct Count function as the Chart's third series.

 

-Abhilash


Viewing all articles
Browse latest Browse all 2067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>