Okay, I thought maybe putting a simpler chart up. This is the start of a list of providers & total encounters for the past 14 weeks, set in the filter section.
I took out the grouping to just get a total. The total number would be the one that I want to delve into by week or if by day, then it's 98 days of data (14 weeks)
I have added Lookup Fields and/or Summary Fields, but getting zero numbers or totals. I keep learning about the use of the summary, lookup & query operations. I'm thinking this will work out beautifully once I figure this out.
In the meantime I will search for more in Community, YouTube even QB Junkies, though I can only access their free lessons snippets.
------------------------------
Bob T.
------------------------------
Original Message:
Sent: 09-12-2022 20:19
From: Bob Thomas
Subject: How can I compare the columns of this Provider-Encounters Summary Table?
I replied to Mark too, via the email option, but apparently not being added to my thread. Just wondering. But thanks to both Mark & Blake. Tomorrow I should be almost 100% and on QB. Today I was outside working when it got warm.
------------------------------
Bob T.
Original Message:
Sent: 09-12-2022 20:13
From: Bob Thomas
Subject: How can I compare the columns of this Provider-Encounters Summary Table?
Thanks Blake,
I'm going to print your response out. I didn't get to work on today, was
outside on my John Deere Zero-Turn that caught fire six weeks ago,
almost done when I got sick on Friday. So now I just started it and five
acres of mowing just got easier for me and my time.
Warm regards,
Bob T.
Original Message:
Sent: 9/12/2022 11:35:00 AM
From: Blake Harrison
Subject: RE: How can I compare the columns of this Provider-Encounters Summary Table?
Query formulas would certainly be one way to accomplish this. You could also do regular Summary fields. For each timeframe you want to capture - Current Week, Prev Week, 2 Weeks Ago, etc - you'll want to build a Summary field using the "Number of Encounters" option and then setting a filter at the bottom, much like you would in a report (see the image below).
Admittedly, the date filters aren't always the best when you want to target a full week (Sun to Sat), but in those instances, I build out Formula Checkbox fields on the table I want to summarize. These formulas would be used as the filter then. So, essentially, you would have a checkbox for each timeframe and then use the checkbox in the Mating Criteria.

------------------------------
Blake Harrison
bharrison@datablender.io
/
Original Message:
Sent: 09-09-2022 21:30
From: Bob Thomas
Subject: How can I compare the columns of this Provider-Encounters Summary Table?
I have created a summary table of providers and the number of encounters (routine short patient visits). This table is setup weekly for the past 14 weeks. What I want to do is to compare the last few weeks to the current week & take an average and put in a new field, such as 3 Month Moving Average. I know the formula previous two months encounters + current month encounters and all divided by three.
What I'm trying to do is to get a formula to add the three months of encounters for each provider. But the data is setup by grouping and crosstabs, so their aren't actual field data, since the data is crunched by the grouping & crosstabs.
I am thinking doing a query is the way to go? The Encounter date is updated by BOX at regular intervals or manually. The provider and encounter date with other fields are added as one record. So if Provider Jeff Smith has 7 encounters today, then Sep 9, 2022 shows up 7 times with the provider name Jeff Smith.
------------------------------
Bob T.
------------------------------