I am working on a export functionality and one of the requirments is to display accounting period in YYYYPPP format.
Can anyone please explain what is YYYYPPP format
It is about time information where YYYY is the fiscal year and PPP is the period of that fiscal year. For example, 2017001 represents the first period in fiscal year 2017.
Often used in Analysis Budget Management tools like SAP. The standard format for entering periods is YYYYPPP or YYYY then PPP.
Related
I’m a data analyst in the insurance industry and we currently have a program in SAS EG that tracks catastrophe development week by week since the start of the event for all of the catastrophic events that are reported.
(I.E week 1 is catastrophe start date + 7 days, week 2 would be end of week 1 + 7 days and so on) then all transaction amounts (dollars) for the specific catastrophes would be grouped into the respective weeks based on the date each transaction was made.
Problem that we’re faced with is we are moving away from SAS EG to GCP big query and the current process of calculating those weeks is a manually read in list which isn’t very efficient and not easily translated to BigQuery.
Curious if anybody has an idea that would allow me to calculate each week number in periods of 7 days since the start of an event in SQL or has an idea specific for BigQuery? There would be different start dates for each event.
It is complex, I know and I’m willing to give more explanation as needed. Open to any ideas for this as I haven’t been able to find anything.
Please suggest me how can I change date range dynamically in BigQuery . For example fiscal year 2017 (4-5-4 calendar) had 371 days verses 364 days in fiscal year 2018. I don't want to change this manually every year.
Any help would be appreciated.
You can solve this by creating the source view separately which cab be then joined with the main code. So that, any changes made in the source code will be reflected in the main code and can be reused in multiple programs.
This way you won't have to change the date range manually all the queries.
for more details, please refer dynamic date range in BigQuery
I need some help on how to group my data into weekly reports. I have asked for a monthly and yearly a month ago but I can't figure out how to do the weekly reports in the same style.
I don't have any idea too what output is good to show a weekly report, but maybe like this?
Week_Sold Total_Earnings
January 1 2013 1
January 8 2013 5
Or like this?
Week_Sold Total_Earnings
January 1st Week 5
January 2nd Week 8
Or like this?
Week_Sold Total_Earnings
January 1-7 5
January 8-15 8
I have no idea what to do on this weekly so can someone recommend me a good weekly report format?
btw, my grouping is the same as the answer on this one Yearly, monthly grouping Visual Basic so please try to make the procedures close to this since im no good on Microsoft Access or Visual Basic.
Have you tried
Format([YourDateColumn], "ww")
?
This should give you the weeknumber in ISO standard. There are also some additional switches; you should find those easily in VBA.
The standard SAP MM advice is that only two periods can be open simultaneously.
How to determine them from within the program (FM to call/table to read)?
This information is stored in table MARV.
(Answer found on SDN).
1.Go to T code MMRV
2.Provide company code
you can find the current period , previous period and last period in previous year
I have a T-SQL view with integer fields. I need a report on a monthly basis regarding the difference from one month to the next, i.e. so many people were engaged in a particular activity on 8am of the 1st of this month, so many the previous month, here is the difference. The numbers fluctuate all the time. I need a variance between 2 snapshots in time.
I am using the SSRS, however in reporting services I can only display the "current" situation. I could run a report at 8am of the 1st of each month and then calculate the differences manually. But how could I automate this calculation and then report on the difference?
I have tried to import data from SQL to 1 Excel spreadsheet from 1 month, then to the 2nd spreadsheet from the 2nd month. The 3rd spreadsheet calculates the difference. But how do I create a nice looking report from Excel?
Additionally I cannot send the report by email. It has to be available online.
Furthermore, each office wants their figures to be confidential and not visible to another office.
Thanx in advance.
Can you add a UserCount table that stores each office's user count for each month? It could have columns like:
id
date
user_count
office_id
You would insert a new row each month based on what the view tells you that month for each office. Then it's as simple as exporting that table to Excel and graphing it using Excel's built-in graphing tools.