473,406 Members | 2,220 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to get the formula for weekly change %

Hi twinnyfo,

I am giving my thanks and appreciate your quick reply.
I forgot my password. so I writing this from another ID. Ok

As per your suggestion, if I make queries as Week-1, and Week-2, I need to put the data separately in every week on week tables. Then only I will get the weekly change out put.

But My boss needs, when we update the records (in date/time type) every week in the query (as per attachment-1), the out put query should show the current week ( ie,Date())completed percentage record(as per attachment-2), as well as the previous week record(like date()-7days). so that the next query will show the weekly change %.

In short, only we put the data (in date format)in my attachment-1. The rest of completed % & weekly change % should be produced itself through proper queries.

I hope you got it. Please help me.

Thanks
Rexon

-------------------------------------------------------------
[My Previous post]

Hi,

I made a query for Procedure completion status as per my attached sketch-1, by that I made one more query (as per attachement -2) to get the completed percentage for dated 13.11.2014.

My requirement is :

I want the (completed)percentage of change in next week on dated 20.11.14 and so on & as well as bar chart for every weekly change% (with seperate colour)

Can you help me, how to get the formula for weekly change % & bar chart.

Thanks

regards
Rexon
Attached Files
File Type: pdf 1.pdf (224.0 KB, 12 views)
File Type: pdf 2.pdf (181.5 KB, 10 views)



P: 1,401
twinnyfo
I have some assumptions:

1: You are able to accurately determine the Weekly percentages of the current week and the previous week? How is the previous week's data stored--or is this something that is determined dynamically?

2: You only want percentage change for "the Current Week vs. the previous week"?

Off the top of my head, one way to do this is as follows:

If you are able to, create two queries (e.g. qryCompRatesWk1 and qryCompRatesWk2). These queries would only return one record, which would be the completion rates for that week. , create a query that can evaluate both weeks at the same time. Then your fields/formulas look something like this:

Expand|Select|Wrap|Line Numbers
SELECT qryCompRatesWk2.DraftComplete - qryCompRatesWk1.DraftComplete AS DraftChange,
qryCompRatesWk2.FirstEditComplete - qryCompRatesWk1.FirstEditComplete AS FirstEditChange,
....
FROM qryCompRatesWk1, qryCompRatesWk2;
This should produce the percentage change from week to week.

Building the chart/graph is another story. But just begin by building a chart/graph, with your new query as a record source.

Hope this hepps (and makes sense)!
1 Days ago #2
Attached Files
File Type: pdf 1.pdf (224.0 KB, 159 views)
File Type: pdf 2.pdf (181.5 KB, 162 views)
Nov 15 '14 #1
5 1460
twinnyfo
3,653 Expert Mod 2GB
If you look back to my first post, the first assumption is critical, and I also think you currently are unable to do the second part, which is to capture the previous week's status in a query.

The only way to do something like this, with your current data structure is to save the calculated percentages, which is never advisable, as I try to never recommend saving calculated fields.

If there is absolutely no necessary reason to have Access create your chart (and using Excel would be acceptable) I would recommend just calculating the current percentages and updating a spreadsheet with the week's current values and using Excel's charting features, which are much easier to use than Access.

It can be done in Access, but I think the effort required would not outweigh the benefit. If this task MUST be done in Access, we can continue to pursue.....

Hope this helps.
Nov 19 '14 #2
Thanks for your reply twinnyfo,

My boss needs in Access format only.

Can you try this task for me, Please?

Thank you

Rexon



@twinnyfo
Nov 20 '14 #3
twinnyfo
3,653 Expert Mod 2GB
Your first step is to be able to develop two queries: The first must list the status of the projects as of the current week. The second query must list the status of projects as of the previous week.
Nov 24 '14 #4
twinnyfo
3,653 Expert Mod 2GB
Your first step is to be able to develop two queries: The first must list the status of the projects as of the current week. The second query must list the status of projects as of the previous week.

So, your data must somehow take into account when a project's status moved to the next phase of review. This is your starting point, and it will depend on what your Data tables look like and how they are constructed.
Nov 24 '14 #5
Hi twinnyfo

I want to add some new attachement. I couldnt attach with this reply. So I have posted as new posting on today (26.11.14). Please see my new posting with attachements.

Regards
Rexon



@twinnyfo
Nov 26 '14 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: sal | last post by:
Greets, All Converting array formula to work with datatables/dataset tia sal I finally completed a formula I was working on, see working code below. I would like to change this code so it...
8
by: Boni | last post by:
Dear all, imagine this is scroll bar. Min|-------------|scroller|---------|Max The position of scroller is set with Value. How do I change the width of scroller? Thank you in advance, Boni
4
by: Orchid | last post by:
How can I change a Date datatype to a Number datatype? For example, I want a date 10/31/2006 to show 1031 as Number datatype. But I don't want it becomes 39021. What formula should I use? ...
2
by: DavidOwens | last post by:
SELECT DISTINCTROW Format(PERIOD.START_DT,"mmmm yyyy") AS MonthYear, SALES.PERIOD_ID, Sum(SALES.SALES) AS SumOfSALES, Sum(SALES.SALES_UNITS) AS SumOfSALES_UNITS, Sum(SALES.SALES_VALUE) AS...
1
by: barnzee | last post by:
Hi all, newbie here, but having a go I am trying to build a stock watchlist in excel 2007 with a dynamic link to a DDE server (paid for from a broker).There is no add-in or plug-in, I just CTL ALT...
5
mshmyob
by: mshmyob | last post by:
Alright all you math experts out there I need your help. I have a formula for an annuity due calculation fv = p * (((1 + i) ^ n - 1) / i) * (1 + i) where fv = future value p = payments i =...
0
by: =?Utf-8?B?amtyYW1vczIwMDU=?= | last post by:
Hi, I had received some help earlier in the week with regards to writing a Change Macro for Excel. Now I am getting an error message and I wanted to confirm why. Below is the part of the code...
7
by: Jesse Jones | last post by:
Any ideas on how to send info from one form into another domain or how to write a default value for a new user's password with a formula? Here's what I'm trying to do: design my database so that...
1
by: ehpratah | last post by:
hi need a hand here.. im having trouble in making my code work(well actually im not getting it)what i need to do is to compute the rate of vehicle that is rented..the only thing ta ht i came up is...
1
by: jeyarexon | last post by:
Hi, I made a query for Procedure completion status as per my attached sketch-1, by that I made one more query (as per attachement -2) to get the completed percentage for dated 13.11.2014. My...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.