Day by Months report
Hello Gurus.
I want to develop a query in Bex Query Designer and I`m not having success.
What I want to do is develop a query where in the lines I have the 0PLANT and 0CALDAY objects, and in the columns I want 0CALMONTH and one key figure for Quantity. And I expected the report to be like the example below:
Plant 0Calday 0CALMONTH
5001 2010.001 2010.002 ...
1 10T 9T
2 3T 3T
3 6T 5T
4 8T 5T
5 6T 7T
31 5T 6T
5002
... (repeat the structure above)
But It Doesn`t work like I expected...
Does anyone know how to make a report like this??
Regards,
Thiago
I also tried this. But the problem when doing this is: The 0CALDAY is the exact date, for a specific month and year...
Example: 18/02/2010....
So the report will be like that
.............................Jan/2010.............Feb/2010
01/01/2010..............10....................... -
02/01/2010...............8........................ -
03/01/2010..............12........................-
(...) until 31/01,
01/02/2010..............- .........................13
02/02/2010..............- .........................10
03/02/2010..............- .........................07
Like above, when the month change, the value now appear only for CALMONTH = February, its obvious...so can you see the problem now?
I want to fix in the lines a structure with DAY1, DAY2, DAY3...DAY31....and than, in the columns I will insert the months...and than separate for exaple: "Day 1 in January, I have 10TON", "Day 2 in January, I have 12TON", "Day 1 in FEBRUARY, 7TON", and so on...
like below
.........................JAN/2010......................FEB/2010
DAY 1...................10..................................7
DAY 2...................12................................(etc....)
DAY 31
Similar Messages
-
Report by Day/Week/Month/Year
Hi All,
I have the table showing below
Empid name tikcetno Completed date
694 anil 10051 23-Jun-09
695 madhu 10052 23-Jun-09
694 anil 10053 23-Jun-09
695 madhu 10054 22-Jun-09
695 madhu 10055 6-Jan-09
I need to create the report which will show employee wise count of tickets in a day,week,month and year.
Day: count(tickets) for current date
Week: count(tickets) for current week
Month: count(tickets) for current month
Year: count(tickets) for current year
I need to show all these four columns in a horizantal table. I am using crystal reports2008. Please help me. ur help would be appreciated.
Anil.Hi,
create 4 formulas for day, week, Month and year
for ex, in Day formula
IF Date Field = CurrentDate then 1 else 0... similarly for other ranges. Create a Group based on employee, and insert a SUM summary field of these formulas in Group header.
Hope this will help you.
Jyothi
Edited by: Jyothi Yepuri on Jul 13, 2009 3:04 AM -
Calander month from a calander day in a report
Hi Experts,
1)How to get calander month from a calander day in a report. .?
2)I have a characteristic . .in which i need only 1st two numbers and its description in the report.
More infor. .
I have this report on the ODS . . and the client dont want any changes in the ods. .
Any Help is Appreciated.
Regards,
Rao.Hi ram,
Per my understanding that you want to get the period date based on the month selected and the given date, right?
Could you please provide details information below to help us better understanding your requirements, thus we will be more effective to provide an solution:
What is the format of the period date you want to get, is this date in the DB and you want to filter it based on the month and the given Date?
Did the month and given date are two parameters in the report? if possible, could you please provide some sample data in the DB and also the snapshot of the report structure
I assume you want to get the period date(mm/dd/yyy) between the select month(e.g:Feb) and the given date (10/1/2014) and you should get the date between(02/01/2014-10/1/2014).
If so,and you also have two parameter "Month","EndDate"(EndDate is the given date), please reference to details information below:
You can create an new parameter "BeginDate" (Date/Time) which is the begin date of the period, you can use the expression to get the value based on the value of the month and the year value from the given date,finally hide this parameter:
Specify the available value:
Label:=Parameters!Month.Value &"/01/"& DatePart("yyyy",Parameters!EndDate.Value)
Value:=CDate(=Parameters!Month.Value &"/01/"& DatePart("yyyy",Parameters!EndDate.Value))
Specify the default Value:
Value:=CDate(=Parameters!Month.Value &"/01/"& DatePart("yyyy",Parameters!EndDate.Value))
Add filter to the dataset as below:
Preview you will get all the date in the given Period:
If you still have any problem, please feel free to ask.
Regards
Vicky Liu -
1st & last day of month based on month selected
Hi All,
I am an infant in BO. I want to create a variable in which I need to compare Order Creation Date with First Day of Month and Last Day of Month.
I have gone through the posts here regarding this, I found huge no of posts on calculating the 1st & last day of month based on a date value. But,
I don't have any date objects in the universe level, instead I have only Month Name/Month Number objects in the universe level (as it is a monthly report)
So, How to create 1st day & last day of month based on the month selected.
That is, If I run the report for FEB 2011 (Prompt values), I need the outputs as 01/02/2011 & 28/02/2011 as my 1st & last date values respectively.
I am working on BOXI R 3.1
Thanks in Advance,
MitchHi
Create a variables and write a formula like
Also add Month number Object in query level
Var_Month
=userresponse("Enter Month")
Var_A
"01/"MonthNumberObj+Right(var_Month;4)
var_First date
Todate(var_A;"dd/MM/yyyy")
var_lastdate
=lastdayofmonth(var_Firstdate)
Note: check the default format for date according to ur database like MM/dd/yy or something like that . and add in the var_firstdate
regards
Sunil -
Hello,
I need to create a new report with some external data, from a formula or table.
This report is just a Total Amount value multiplied by the current business day in the total business days in the current month. This is just to preview the total amount expected in the end of the month. For example:
The current sales ammount is 100, and today is the business day 15. The month have 22 business days so: 100 * (22/15) = 146,66. This is just an a approximate value in the end of the month.
The problem is: How can I get in a column the value of the business day of today?, and, how can I get the total business days in the current month?.
I've tried to get those values froma a sql function (actually this is working) but i can't use this inside Oracle BI.
Also, I've tried to make a table with all the values of this columns. Date - Business day in month - Total business days in month. Then import at the repository with date dimension relationship, but in BI it gets the date of the last Sale (maybe the last sale was 2 days ago, and the relationship with my table was with Date, not today.
It's hard to explain, but essentialy I need to get just to values: Today Business Day and Total business day. I can generate this values with any other tecnology (Oracle, any language, table...) but unable to import or use it inside oracle BI.
Thanks.Since you raised this under a E-business suite subforum, I assume you have EBS.
Normally in Oracle EBS, each organization is associated with a calendar and the calendar specifies which day is a working day and which is not.
That data is stored in bom_calendar_dates.
Sandeep Gandhi -
In my application i m generating Breakdown analysis report for each batch. It is a pure text report (No graph) where i just have to mention
1. Break down code
2. Cause
3. Time.
Just these three things i want to appent for each batch report.
Now, i want to generate a monthly report where i can find out in a months how many times a break down occured and by which reason.
The all 3 (Break down code, Cause, Time) are ready with me. I m generating batchwise report also. (Batch report will be named with Day/Date/Time format).
I just want to make a single report for a month.
Plz give me the solution.
Kaustubh
VC (Pune)
INDIADuplicate post. Please don't ask the same question in multiple postings.
-
I'm having trouble with monthly report on my tmg array. Site and user activity reports show only one week information. I choose last 30 days in reports details but start date of this report is One week ago, End Date is now.
Hi,
Thank you for the update.
Firstly, please install the latest rollup 1 for TMG SP2 and check if you have selected “Enable Daily and Monthly Summaries”.
Regards,
Nick Gu - MSFT -
Monthly Reports Sending Mass Emails
Current Environment:
Zen 11.2.2 no MUs
Test Patch Applied:
database time sync patch where time showed it was off by 6 hours
Problem:
On January 31 and Feb 28 (End of the month days) it seems all my monthly reports are spamming the recipients. This started January 31 at 6pm CST and went on till 12pm CST. On February 28 at 6pm CST it starting spamming the reports again until I removed them from the report. We had upgraded to Zenwork 11.2.2 in January 2013 and this only started after the update.
Does anyone see this problem in their environment or is there a log I can see the email actions?
Thanks
Nhatnhatdoan,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://www.novell.com/support and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Forums Team
http://forums.novell.com -
Unable to download monthly report sales and trends
Dear all,
we are not able to download the
"Sales and trends" > Summary sales report > monthly report of last month (February 2014)
despite the passage of more than 5 days after the month's end date.
The button for the download is still gray instead of blue.iTune Connect > Sales and Trends had some problems after an update....have you contacted support to advise them of this problem?
-
Create a field routine to calculate the number of days per month
Hi Experts,
I need to create a field routine to count the number of days per month based on 0CALMONTH. Could you give me some inputs on how to do it?
Thanks!Hi,
Create InfoObejct and then insert it in InfoSource/InfoCube/DSO then write simp,e code for that based on your 0CALMONTH values.
You just copy and pas this in SE38 and see the result and implement for your requirements.
REPORT ztest1.
Data: zsydt type sy-datum,
zd(2) type n,
zm(2) type n,
zy(4) type n,
zcmnth TYPE /bi0/oicalmonth,
znds TYPE /osp/dt_day.
zsydt = sy-datum.
zd = '01'.
zm = zsydt+4(2).
zy = zsydt+0(4).
CONCATENATE zy zm zd INTO zsydt.
CALL FUNCTION '/OSP/GET_DAYS_IN_MONTH'
EXPORTING
iv_date = zsydt
IMPORTING
ev_days = znds. "No.of days in month.
write:/ zd.
write:/ zm.
write:/ zy.
write:/ zsydt.
write:/ znds.
Thanks
Reddy -
Pallents sent out in a day Or Month for Deliveries
Hi folks,
I need to know the transactions used to check the following information.
Review the number of pallets sent out by dates (for Deliveries)
Review the number of pallets sent out in a month (for Deliveries)
Review the number of Deliveries sent out in a day and month.
I apprciate your help.
ThanksHello RK,
If you are not using Handling Unit functionality then what you are considering as Pallet?
If you are considering storage unit as pallets, then you need to fatch LTAP, LTAK, LIPS table for ourbound delivery and design the report.
Hope this helps.
Regards
Arif Mansuri -
iCal has dropped a monthly event for the previous four months....... why did it disappear? and where is it? It was the same event but a different day each month.
I installed this same digitizer in my T|X some weeks ago. Some discussion of my experience may be found in this Usenet posting and subsequent thread.
The stock digitizer in my T|X had always had some significant alignment issues (for which PowerDigi was able to compensate very nicely) and sensitivity which was uneven, but which usually required a heavier touch than I liked.
Eventually, it began to develop a “dead spot” near the upper left. My T|X was under warranty, so I probably ought to have sent it in to Palm to be repaired, but I wasn't willing to be without it for the required amount of time, and I've heard enough reports of other T|X owners getting unsatisfactory results this way. I'd heard enough good reports about the PDAPARTS.COm digitizer, that I decided that the only acceptable way to repair my T|X would be to install one of those.
After however many weeks it has been, I am still very pleased with the results. It continues to work flawlessly; it is much more sensitive, so it doesn't require nearly so heavy a touch, and I very much like the hard feel that it has, compared to the spongier feel of the stock digitizer.
My wife's T|X still has its stock digitizer, and it has so far not shown any of the same problems that mine did, or for which the T|X has become notorious, but the feel is noticeably inferior. She's content with it the way it is, but I think that if I were to ever buy another T|X for myself, I wouldn't wait for the stock digitizer to fail. The PDAPARTS.COM digitizer is simply superior in every imaginable way; and, in my opinion, a T|X with the PDAPARTS.COM digitizer installed is sufficiently superior to one with the stock digitizer (even if it isn't defective) to be very much worth the expense and trouble of installing it.
Post relates to: Palm TX -
Need a query for monthly Report
Hello All,
I need a query for monthly report,
comp_code
emp_id
dept_id
work_day
100
A100
MECH
01/01/2013
100
A100
MECH
02/01/2013
100
A100
MECH
03/01/2013
100
A100
MECH
04/01/2013
100
A100
MECH
05/02/2013
100
A100
MECH
08/02/2013
100
A100
MECH
09/02/2013
100
A100
MECH
10/02/2013
100
A100
MECH
12/05/2013
100
A100
MECH
13/05/2013
100
A101
CIV
01/04/2013
100
A101
CIV
02/04/2013
100
A101
CIV
03/04/2013
100
A101
CIV
04/04/2013
100
A101
CIV
06/04/2013
100
A101
CIV
06/06/2013
100
A101
CIV
07/06/2013
100
A101
CIV
08/06/2013
100
A101
CIV
09/06/2013
100
A101
CIV
10/06/2013
100
A101
CIV
11/12/2013
100
A101
CIV
12/12/2013
100
A101
CIV
13/12/2013
100
A101
CIV
14/12/2013
Dear friends this the sample table of my report.In which table has contain list of employees with their working days(actual table has contain almost 5laks of records).
suppose user choose the date between 01/01/2013 and 31/12/2013 then the result should be like this.
comp_code
emp_id
dept_id
month
Total_work
100
A100
MECH
JANUARY
4
100
A100
MECH
FEBRUARY
2
100
A100
MECH
MARCH
0
100
A100
MECH
APRIL
0
100
A100
MECH
MAY
2
100
A100
MECH
JUNE
0
100
A100
MECH
JULY
0
100
A100
MECH
AUGUST
0
100
A100
MECH
SEPTEMBER
0
100
A100
MECH
OCTOBER
0
100
A100
MECH
NOVEMBER
0
100
A100
MECH
DECEMBER
0
100
A101
CIV
JANUARY
0
100
A101
CIV
FEBRUARY
0
100
A101
CIV
MARCH
0
100
A101
CIV
APRIL
5
100
A101
CIV
MAY
0
100
A101
CIV
JUNE
5
100
A101
CIV
JULY
0
100
A101
CIV
AUGUST
0
100
A101
CIV
SEPTEMBER
0
100
A101
CIV
OCTOBER
0
100
A101
CIV
NOVEMBER
0
100
A101
CIV
DECEMBER
4Hi,
If you want the output to include months where no work was done (with 0 in the total_work column) then you need to outer-join a "table" that has one row per month, and make it a partitioned outer join:
WITH got_end_points AS
SELECT TRUNC (MIN (work_day), 'MONTH') AS first_month
, TRUNC (MAX (work_day), 'MONTH') AS last_month
FROM table_x
, all_months AS
SELECT ADD_MONTHS (first_month, LEVEL - 1) AS a_month
, ADD_MONTHS (first_month, LEVEL) AS next_month
FROM got_end_points
CONNECT BY LEVEL <= 1 + MONTHS_BETWEEN (last_month, first_month)
SELECT t.comp_code
, t.emp_id
, t.dept_id
, m.a_month
, COUNT (t.work_day) AS total_work
FROM all_months m
LEFT OUTER JOIN table_x t PARTITION BY (t.comp_code, t.emp_id, t.ept_id)
ON t.work_day >= a.a_month
AND t.work_day < a.next_month
GROUP BY t.comp_code
, t.emp_id
, t.dept_id
, m.a_month
ORDER BY t.comp_code
, t.emp_id
, t.dept_id
, m.a_month
As posted, this include every month that is actually in the table. You can change the first sub-query if you want to enter first and last months.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
Point out where the query above is giving the wrong results, and explain, using specific examples, how you get the correct results from the given data in those places. If you changed the query at all, post your code.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002 -
How to Get days of Month in SSRS
How can I get days of Month in SSRS report...?
Hi RedZinc,
You can do it by writing a SQL query to generate days of month. For doing recursive to generate days,
Use CTE with recursive logic:
Declare @StartDate as DATE, @EndDate as DATE;
SET @StartDate = CONVERT(VARCHAR(25),DATEADD(dd,-(DAY(GETDATE())-1),GETDATE()),101)
SET @EndDate = CONVERT(VARCHAR(25),DATEADD(dd,-(DAY(DATEADD(mm,1,Getdate()))),DATEADD(mm,1,Getdate())),101)
;WITH cte AS (
SELECT @StartDate AS myDate
UNION ALL
SELECT DATEADD(Day,1,myDate)
FROM cte
WHERE DATEADD(Day,1,myDate) <= @EndDate
Select * from CTEtested the above sql code and it is working. CTE will be easy to implement recursive stuff.
Maruthi... http://www.msbimaru.blogspot.com/ -
Monthly Report with time-dependent navigational attribute
Hi,
We've a characteristic costcenter that has a navigational attribute called segment which is time-dependent attribute.
CostCenter-Segment master data is as follows.
COSTCENTER Segment validFrom Valid To
============================================
CSTCNTER_1 SGMNT_A 10000101 20100831
CSTCNTER_1 SGMNT_B 20100901 99991231
Cube data is as follows. We don't have Segment in the cube. Also, no plans of adding segment to the cube.
COSTCENTER MONTH AMOUNT
========================
CSTCNTER_1 201007 100
CSTCNTER_1 201008 200
CSTCNTER_1 201009 300
CSTCNTER_1 201010 400
I'm trying to achieve monthly report by costcenter & segment as follows. Is there a way to achieve this?
COSTCENTER Segment MONTH AMOUNT
===============================
CSTCNTER_1 SGMNT_A 201007 100 (last day of 201007 is 20100731. as of 20100731, CSTCNTER_1 belongs to SGMNT_A)
CSTCNTER_1 SGMNT_A 201008 200 (last day of 201008 is 20100831. as of 20100831, CSTCNTER_1 belongs to SGMNT_A)
CSTCNTER_1 SGMNT_B 201009 300 (last day of 201009 is 20100930. as of 20100930, CSTCNTER_1 belongs to SGMNT_B)
CSTCNTER_1 SGMNT_B 201010 400 (last day of 201010 is 20101031. as of 20101031, CSTCNTER_1 belongs to SGMNT_B)
Appreciate any help.
-harithanks for looking into this.
I"ve already turned on SEGMENT as a navigational attribue in cube, for the reason, my current report looks like this.
COSTCENTER Segment MONTH AMOUNT
===============================
CSTCNTER_1 SGMNT_A 201007 100
CSTCNTER_1 SGMNT_A 201008 200
CSTCNTER_1 SGMNT_A 201009 300 I'm expecting this should show up in SGMNT_B
CSTCNTER_1 SGMNT_A 201010 400 I'm expecting this should show up in SGMNT_B
But, I'm expecting the report look like this
COSTCENTER Segment MONTH AMOUNT
===============================
CSTCNTER_1 SGMNT_A 201007 100
CSTCNTER_1 SGMNT_A 201008 200
CSTCNTER_1 SGMNT_B 201009 300
CSTCNTER_1 SGMNT_B 201010 400
Maybe you are looking for
-
Have backup disk, but Time Machine is not recognizing it...
I have tried 3 different external hard drives, all of which have come up in Finder and I am able to explore them, but when I ask to set up Time Machine, it has no options of any backup disks for me to select? Help! Right now I have Western Digital 50
-
Is S.M.A.R.T status supported on iMac g5?
I note that when I open the Disk Utility, it shows that the drive is not S.M.A.R.T supported? Should it be?
-
i have Macbook Air. One day i am using email-Entrouage, sudden it stuck up. I stopped it and start entourage again but it start verify and and rebuild but not rebuilt. email are 41.5 GB and free 5 GB. When problem not resolved i also copied that emai
-
OIM Database Applications Table fails to connect via GTC - Weblogic, Linux
Environment: OIM - 9100 (public download) Red Hat Linux XLADM Oracle 10g Weblogic 8.1 SP6 - no cluster I have installed the Database Application Connector and am trying to configure it via the Generic Technology Connector, but it keeps failing to con
-
Wireless audio is easy with Rocketboos​t!
Getting audio from one room to another can be an expensive and laborious process. Now, with Rocketfish Rocketboost technology the process is simplified! You can get TV audio and your iPod music in any room you want. Rocketboost products work seaml