Mar 06 2024 11:37 PM
I have data set arranged as District n=3(G,S,K), Town n=18 (arranged as G=5,S=5,K=8), and Union Council n=176 (arranged as G=40,S=60,K=76) with values as Set Target (numbers), Coverage (number), % Coverage. remaining target to be covered after day 5.
I am asked to give daily 'point in time' comparison status separate day wise e.g. day 1 of Jan, Feb and March and day wise comparison separate (cumulative) e.g. day 1,2 Jan, Day 1,2 Feb, Day 1,2 Mar
Issues:
I need to calculate total for each day using pivot table when activity is completed for all 5 days and then remaining target to be achieved in coming days after 5 days, also i need to compare with previous months data. Everything goes fine till day 5 with way around by filtering. Now I am having issue compiling the remaining Target in one pivot. if i am asked to provide details of total achievement including day 5 total and day 6 separate having achievement against target. and there is no target for day 5 onwards, and this is needed on regular basis in a similar pattern. like: if today is 7, then i need to give target achieved up to day 5 and target achievement on day 6 and day 7 as well separately.
P.S. Sometimes, somethings are additionally included in target for the next month as well, only if found during day 6 and day 7.
Mar 10 2024 06:37 AM
Mar 10 2024 08:16 AM
Your question has had 93 views, so I suspect that those who read it simply do not understand it.
I for one certainly don't...
Mar 10 2024 09:23 AM
@HansVogelaar if Target for 5 days is 5000 and achievement is 4500 in 5 days, 500 would remaining Target to achieve. This 500 would be Target for 6th day onwards.
I want pivot table to ignore target for day 6 which is 500, but consider only the achievement of day 5 + Day 6 and provides the result. For Example: if coverage for day 5 is 4500 and for day 6 is 200, so total achievement should be 4700/5000, not 4700/5500.
I hope you understand my question now. I do not want to use VBA as this would increase the file size and I do not have any expertise in PowerQuery or Powerpivot.
Mar 10 2024 09:25 AM
I hope that someone else can help you, I don't have the slightest idea. Sorry!
Mar 10 2024 09:28 AM
Mar 10 2024 09:32 AM
Mar 10 2024 10:28 AM - edited Mar 10 2024 10:30 AM
@Detlef_Lewin Below is a glimpse of small data which I need to compile. In the screenshot you can see that after day 5 Target changes, which i do not want pivot to consider while Totaling, Only the target of 5 days and adding up achievement of all days including day 5 and day 6.
I hope it is more clear now. Is there a workaround in pivot table to do this.
Mar 10 2024 10:36 AM
Mar 10 2024 10:40 AM
@Detlef_Lewin here is the attachment
Mar 10 2024 11:06 AM
I analysed you formula and rewrote them. Not really something for a pivot table.
But I think that is not what you want.
Mar 10 2024 11:24 AM
Mar 13 2024 04:38 AM
You still have not shown what the pivot table should look like.
But I guess the only way to solve it would be DAX measures. And that is not my expertise - yet.
Mar 13 2024 10:17 AM
Mar 13 2024 10:32 AM