BEx report -two different calculations for a result for one key figure how?
All,
Maybe someone could help me with the following, we have a requirement to setup for one key figure two calculations for result rows. One result (average) for one level, and on a higher level -grand total have a (sum), as for our business it makes sense to do it this way. We have setup average for this KF, we get correct results (see below values 7,5 & 6,5) however for the grand total (across multiple products) so for one level up we need to have a different calculation. How could we achieve this?
Here is an example:
location product inventory
AAAA 11111 5
AAAA 11111 5
AAAA 11111 10
AAAA 11111 10
AAAA Result 7,5 ---> average
AAAA 22222 5
AAAA 22222 6
AAAA 22222 7
AAAA 22222 8
AAAA Result 6,5 -
> average
AAAA Result (across products) 14 ---> here I want to have a sum of averages
This could be achieve only IF you upload a hierarchy for product inventory with different levels, wherein each level show subtotals and finally grand total will be shown at the end of the results.
Similar Messages
-
I have two different accounts with I-tunes and I want to link both purchases for my music to one account. How can I do this?
You are going to need to change the email address you use with your old ID. Once you have got access to your old account you will then log into both accounts at the same time on your Mac and transfer your data to a single account. We can do this later, but need you to get access to your old account first.
My Apple ID -
HT204053 can two different apple ids be used for the same imatch
can two different apple ids be used for the same imatch homesharing for music
Welcome to the Apple Community.
No. -
HT201250 Can I use Time Machine on two different Macs to back up to one external drive?
Can I use Time Machine on two different Macs to back up to one external drive?
I have one 1T Western Digital backup drive that works well with Time Machine and my MacBook Pro. I now want to back up my wife's MacBook Air using Time Machine on her Mac and want to know if I can use the same WD external drive or if I need to get a 2nd back up drive? If I can use one external drive for the two Macs do I need to do something special on the drive or will Time Machine do it automatically?Yes. You will need to configure Time Machine preferences on each computer to backup to the same drive. Note that you cannot connect the backup drive to both machines at the same time.
-
Hi Sir/ Madam,
My name is Rishav and I am facing some problem with my Photoshop CC. Actually I have a question. If you guys could help me out i will be very obliged. The quest in "Can you please help me by saying me how can i join two different picture to make it as one picture.??"Maybe you should post over at
Photoshop for Beginners
or start with the "Get Started" section of the Help:
Photoshop Help | Photoshop Help
And your question
Can you please help me by saying me how can i join two different picture to make it as one picture.??
does not seem particularly specific – do you want to simply combine two images as they are, do you want to clip elements from the one and insert them into the other, …?
Could you post (lores of) the images and explain what you intend to achieve? -
Is there a way that you can have two different text fields (email, phone) that one at least one of them must be completed before submitting the form? Can it be done using javascript in the validation tab? if so, how?
Here is one solution:
// mouse up action for submit button;
function GetField(cName) {
// get field object for cName field with error checking;
var oField = this.getField(cName);
if(oField == null) app.alert("Error accessing field named " + cName + "\nPleae verigy field name, spelling and capitalizeation.", 1, 0);
return oField;
} // end GetField function;
var oPhone = GetField("phone");
oPhone.required = oPhone.value == oPhone.defaultValue;
var oEmail = GetField("email");
oEmail.required = oEmail.value == oEmail.defaultValue;
if(oPhone.required && oEmail.required) {
app.alert("Missing required fields.", 1, 0);
} else {
app.alert("Submitting form", 3, 0);
// additional code for submission; -
I Have two different accounts in my iPad; I need to Know how Can I Switch them ?
I Have two different accounts in my iPad; I need to Know how Can I Switch them ?
Go to Settings>Store>Apple ID - sign out of the account that you are currently using then tap sign in - and enter the information for the other account. You may want to restart the iPad before you sign into the other account.
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. -
How to find if one key figure is used in any report
Dear Experts ,
I have one key figure info object .I wanted to know how to find this key figure is used in which report .
As I know "where used list " but this will not help me .
Any suggestions please share .
PuruHi Puru,
Try following approach,
goto RSZELTTXT table and put your key figure name in the long text and click on execute. Get the list of all the ETULID's and go to table RSZCOMPDIR from this table for all the ETLUID's get all the list of COMPUID's and from COMPUID's you will be able to find all the reports from RSRREPDIR in which that key figure is getting used.
Regards,
Durgesh. -
To get rid of * in the total result of all key figures.
Hi all,
I have one query and in that I have three characteristics and one key figure. and corresponding to each characteristics my key figures values are added. But due to different units of measure in the grand total a star(*) is appearing and the thing is that I cant change the design meas do not want to change the design.I want to get rid of this . Plz help me out in this I need to solve this urgently.
query is like this:
characteristics keyfigure
p1 2010 100
200
300
p2 2010 200
200
400
p3 2010 100
100
200
grand total 900* units of measure are different.Hi,
The asterisk (*) value is maintained in the Mixed values tab of transaction RSCUSTV4. You can replace the asterisk with any text you want to display in the report.
If you select Mixed values checkbox below, the numeric value from mixed currencies/units will be displayed in the report.
But please remember that, any changes you make in Transaction RSCUSTV4 is a Global setting and will affect all the queries.
NODIM is the better option as it will affect only the required keyfigures in a query.
Regards,
Hari -
why when I press the command button and number two, yahoo comes up instead of the ‘at’ key? how can I fix the command shortcuts? help me please.
try pressing the shift and 2 key to get the @ symbol.
if that doesn't work for you - go to system preferences - keyboard and change it there.
good luck -
We have 6 ipods and 1 iphone in our house. We have different itunes accounts. We use one computer. How can we share each others music? I moved everybodies itunes media folder to the public music folder but when I open itunes I only see that accounts music. We need different itunes accounts. We share 1 computer but we have different user accounts on the computer.
Adding media directly to the media folder does not make it appear in the library. iTunes doesn't really 'look' at that folder except to go to specific files when you call upon them from a library. You have to drag new content to each user's library, that is assuming each user has their own library.
-
Result shown in Bex Report is different from Infocube
In BI, Flat file loading, I got data correctly into the cube. But when I tried to generate the report its showing all the key figure values divided by 10. Keyfigures are of type Amount. And when I checked for scaling factors, its showing nothing 1 only (ie nothing).
I am working in BI 7.0 and the reporting tool Business explorer is 3.x version. is this can be a problem?
Can some one help me to solve out this problem?As my currency is OMR, I required three decimal points. So in SPRO it should be maintained as 3.
I checked the scaling factor. Nothing is maintained.
Eventhough I mentioned while creating key figures that decimal places 3, in the infocube its coming only two decimal points.
So if the value is 335.824, I am getting 335.82 in the InfoCube and 33.58 in the report.
I created the keyfigure with fixed currency OMR. But in the flat file the currency filed is not there. So while writing the transformation I gave the currency as NO Conversion.
Where I went wrong, please advise me? -
Subtract sum of two columns in two different tables and display balance for each row
Hello Friends,
I have the below 5 tables
1. STUDENT (STUDENT_ID, NAME)
2. DEPARTMENT (DEPT_ID, NAME, CONTACT_PERSON, PHONE)
3. SECTION (SECTION_ID,SNAME,DEPT_ID,Acad_LEVEL,SHIFT,TIME,ROOM)
4. TUITION_BILL (Seq_No, STUDENT_ID, DEPT_ID, Acad_Level, SECTION_ID, SEMESTER, Acad_Year, BILL_DATE, GROSS_AMT_DUE)
5. TUITION_PAYMENT (Seq_No,RECEIPT_NO,STUDENT_ID,DEPT_ID,Acad_Level,SECTION_ID,SEMESTER,Acad_Year,SCHOLARSHIP,PAYMENT_DATE,PAYMENT_AMT,REFERENCE,REMARKS)
I wrote the following query
SELECT T.Seq_No,T.STUDENT_ID,S.NAME As STUDENT_NAME,d.name As DEPT,T.Acad_Level,c.SNAME As SECTION,
T.SEMESTER,T.[Acad_Year],BILL_DATE,GROSS_AMT_DUE,
COALESCE(SUM(T.GROSS_AMT_DUE),0)-COALESCE(SUM(PAY.PAYMENT_AMT),0)- COALESCE(SUM(PAY.SCHOLARSHIP),0) As BALANCE
FROM TUITION_BILL T JOIN STUDENT S ON S.STUDENT_ID=T.STUDENT_ID join DEPARTMENT d on d.DEPT_ID=T.DEPT_ID
join SECTION c on c.SECTION_ID=T.SECTION_ID LEFT JOIN (SELECT DISTINCT STUDENT_ID,COALESCE(SUM(p.PAYMENT_AMT),0) As PAYMENT_AMT,
COALESCE(SUM(P.SCHOLARSHIP),0) As SCHOLARSHIP FROM TUITION_PAYMENT p GROUP BY p.STUDENT_ID) As PAY ON PAY.STUDENT_ID=T.STUDENT_ID
WHERE s.STUDENT_ID='138218' GROUP BY T.Seq_No,T.STUDENT_ID,S.NAME,d.NAME,T.[Acad_Level],c.SNAME,T.SEMESTER,
T.[Acad_Year],BILL_DATE,GROSS_AMT_DUE,PAYMENT_AMT,SCHOLARSHIP
The above query shows the below output
Seq_No
STUDENT_ID
STUDENT_NAME
DEPT
Acad_Level
SECTION
SEMESTER
Acad_Year
BILL_DATE
GROSS_AMT_DUE
BALANCE
1
138218
Abdirahman Dhuh Gamadid
Agriculture and Veterinary
Year 2
2A
One
2014-2015
1/10/2014
200
0
5638
138218
Abdirahman Dhuh Gamadid
Agriculture and Veterinary
Year 2
2A
Two
2014-2015
3/20/2015
200
0
There are two records in the TUITION_BILL table with different Semesters and bill dates for the specified student_id and there is only one record in the TUITION_PAYMENT table which is the semester one payment record. Semester two payment record
is not recorded yet and I want to display the balance like the following output instead of the above output.
Seq_No
STUDENT_ID
STUDENT_NAME
DEPT
Acad_Level
SECTION
SEMESTER
Acad_Year
BILL_DATE
GROSS_AMT_DUE
BALANCE
1
138218
Abdirahman Dhuh Gamadid
Agriculture and Veterinary
Year 2
2A
One
2014-2015
1/10/2014
200
0
5638
138218
Abdirahman Dhuh Gamadid
Agriculture and Veterinary
Year 2
2A
Two
2014-2015
3/20/2015
200
200
The above query is working fine but I'm facing only one problem with it which its showing 0 balance for both records instead of different balances like the above desired output.
Please help me in getting the desired result.
Any help would be appreciated.
Thanks in advance,
MohamoudThanks a lot Pituach for your reply; below I posted the script for the database and table creation and inserting sample data into the tables.
CREATE
DATABASE TESTdb
GO
USE TESTdb
CREATE
TABLE [dbo].[STUDENT](
[STUDENT_ID] [int]
NOT NULL,
[NAME] [varchar](40)
NULL,
PRIMARY
KEY CLUSTERED
[STUDENT_ID]
ASC
)WITH
(PAD_INDEX
= OFF,
STATISTICS_NORECOMPUTE
= OFF,
IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS
= ON,
ALLOW_PAGE_LOCKS =
ON)
ON [PRIMARY]
ON [PRIMARY]
GO
SET
ANSI_PADDING OFF
GO
CREATE
TABLE [dbo].[DEPARTMENT](
[DEPT_ID] [int]
IDENTITY(1,1)
NOT NULL,
[NAME] [varchar](30)
NULL,
[CONTACT_PERSON] [varchar](40)
NULL,
[PHONE] [int]
NULL,
CONSTRAINT [PK__DEPARTME__512A59AC03317E3D]
PRIMARY KEY
CLUSTERED
[DEPT_ID]
ASC
)WITH
(PAD_INDEX
= OFF,
STATISTICS_NORECOMPUTE
= OFF,
IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS
= ON,
ALLOW_PAGE_LOCKS =
ON)
ON [PRIMARY]
ON [PRIMARY]
GO
SET
ANSI_PADDING OFF
GO
CREATE
TABLE [dbo].[SECTION](
[SECTION_ID] [int]
IDENTITY(1,1)
NOT NULL,
[SNAME] [varchar](40)
NOT NULL,
[DEPT_ID] [int]
NOT NULL,
[Acad_Level] [varchar](30)
NULL,
[SHIFT] [varchar](20)
NULL,
[TIME] [varchar](20)
NULL,
[ROOM] [varchar](20)
NULL,
CONSTRAINT [PK__SECTION__92F8069507020F21]
PRIMARY KEY
CLUSTERED
[SECTION_ID]
ASC,
[DEPT_ID]
ASC
)WITH
(PAD_INDEX
= OFF,
STATISTICS_NORECOMPUTE
= OFF,
IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS
= ON,
ALLOW_PAGE_LOCKS =
ON)
ON [PRIMARY]
ON [PRIMARY]
GO
SET
ANSI_PADDING OFF
GO
CREATE
TABLE [dbo].[TUITION_BILL](
[Seq_No] [int]
IDENTITY(1,1)
NOT NULL,
[STUDENT_ID] [int]
NOT NULL,
[DEPT_ID] [int]
NOT NULL,
[Acad_Level] [varchar](50)
NOT NULL,
[SECTION_ID] [int]
NOT NULL,
[SEMESTER] [varchar](50)
NOT NULL,
[Acad_Year] [varchar](50)
NOT NULL,
[BILL_DATE] [date]
NULL,
[GROSS_AMT_DUE] [decimal](18, 2)
NULL,
CONSTRAINT [PK_TUITION_BILL]
PRIMARY KEY
CLUSTERED
[STUDENT_ID]
ASC,
[DEPT_ID]
ASC,
[Acad_Level]
ASC,
[SEMESTER]
ASC,
[Acad_Year]
ASC
)WITH
(PAD_INDEX
= OFF,
STATISTICS_NORECOMPUTE
= OFF,
IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS
= ON,
ALLOW_PAGE_LOCKS =
ON)
ON [PRIMARY]
ON [PRIMARY]
GO
SET
ANSI_PADDING OFF
GO
CREATE
TABLE [dbo].[TUITION_PAYMENT](
[Seq_No] [int]
IDENTITY(1,1)
NOT NULL,
[RECEIPT_NO] [int]
NOT NULL,
[STUDENT_ID] [int]
NOT NULL,
[DEPT_ID] [int]
NOT NULL,
[Acad_Level] [varchar](50)
NOT NULL,
[SECTION_ID] [int]
NOT NULL,
[SEMESTER] [varchar](50)
NOT NULL,
[Acad_Year] [varchar](50)
NOT NULL,
[SCHOLARSHIP] [decimal](18, 2)
NULL,
[PAYMENT_DATE] [date]
NULL,
[PAYMENT_AMT] [decimal](18, 2)
NULL,
[REFERENCE] [varchar](50)
NULL,
[REMARKS] [varchar](max)
NULL,
CONSTRAINT [PK_TUITION_PAYMENT]
PRIMARY KEY
CLUSTERED
[Seq_No]
ASC
)WITH
(PAD_INDEX
= OFF,
STATISTICS_NORECOMPUTE
= OFF,
IGNORE_DUP_KEY =
OFF, ALLOW_ROW_LOCKS
= ON,
ALLOW_PAGE_LOCKS =
ON)
ON [PRIMARY]
ON [PRIMARY]
GO
SET
ANSI_PADDING OFF
GO
USE TESTdb
INSERT
INTO STUDENT(STUDENT_ID,NAME)VALUES(138218,'Abdirahman
Dhuh Gamadid')
INSERT
INTO DEPARTMENT(NAME,CONTACT_PERSON,PHONE)VALUES('Agriculture
and Veterinary','Mohamoud Abdilahi','065')
INSERT
INTO SECTION(SNAME,DEPT_ID,Acad_Level,SHIFT,[TIME],ROOM)VALUES('2A',1,'Year
2','Morning','8:00-10:00','Room 1')
INSERT
INTO TUITION_BILL(STUDENT_ID,DEPT_ID,Acad_Level,SECTION_ID,SEMESTER,Acad_Year,BILL_DATE,GROSS_AMT_DUE)
VALUES(138218,1,'Year
2',1,'One','2014-2015','2014-09-10',200.00)
INSERT
INTO TUITION_BILL(STUDENT_ID,DEPT_ID,Acad_Level,SECTION_ID,SEMESTER,Acad_Year,BILL_DATE,GROSS_AMT_DUE)
VALUES(138218,1,'Year
2',1,'Two','2014-2015','2015-01-10',200.00)
INSERT
INTO TUITION_PAYMENT(RECEIPT_NO,STUDENT_ID,DEPT_ID,Acad_Level,SECTION_ID,SEMESTER,Acad_Year,SCHOLARSHIP,
PAYMENT_DATE,PAYMENT_AMT,REFERENCE,REMARKS)VALUES(1,138218,1,'Year
2',1,'One','2014-2015',0.00,'2014-10-10',200.00,'N','N') -
In BEx Report Designer, I keep getting short dumps and timeouts when trying to design flashy reports.
I keep getting 2 errors when I time out:
1. 'Query (view) definition cannot be retrieved from Portal.
Please try again or check query and Portal Setup!
Time limit exceeded.
2. xxx Error when reading Query (via BICS)
Please check query and Portal setup!
Time limit exceeded.
We are running ECC 6.0, BI2004s, and SEM 6.0. All in Sandbox/Dev environment.
We are NOT running EP.
I am aware that we have some memory issues, and we're adding 4Gb more on Thursday....can the solution be that simple, or are these errors telling me we need Portals installed? I was under the impression that Portals were NOT required for 2004s, so long as you did not use WAD etc.
Any thoughts??You would need to install portals(EP) for the report designer to work. When you design your flashy report in designer and try it launch it... it would try to connect to EP to publish it. It bombs when it doesnt find the portal.
On a personal note: Report designer have a long way to go when you think the output would be something like crystal .. NO not yet ... But SAP just got started ... I think they would be there pretty soon. And they promise many enhancements as of SP 13.. so lets all wait. -
Bex report displays text Error in the result
Hello,
In my bex query result the text ERROR is displayed beside the value of a keyfigure.
I'm not able to figure why this appears and how to find the error.
Thanks.This is due to the absense of unit/currency against the key figure in the info provider.
Maitain the currency/unit and then run the report. This should rectify the report error.
Naveen.A
Maybe you are looking for
-
Can't Add a Yahoo! Account to iCal.
I don't get the option to add a Yahoo! account to iCal, I only get the option to add a CalDAV account. I'm using iCal on a PowerBook G4 running Mac OS 10.5.8 and iCal 3.0.8. Also, when I sync my iPod Touch 4G with iTunes, the calanders stored on the
-
do i need to purchase/download anything else...Iam still not able to use the photostream option from the icloud menu.
-
How to read Ztable entries in Rule .
Hi all, 1) How to read Ztable in the rule ? if i wanted check EE cost center is available in Ztable then do some operation . 2) How to restrict the changes only effective from 2012 . No retro allowed .? Please give me the code pls .... Thanks, Deepik
-
How to provide different plor series for plot chart
How to provide different plot series for a Plot Chart. The IDs of the series are given in a ComboBox control
-
Hi I have a problem with updating my CS5 premium suite
Hi I have a problem after install my CS5 premium suite, It won't download and install updates. The error is: An error occurred, when downloading this update, close and try again. Its all programs in the suite, photoshop, illustrator etc. Whats going