Avoid #MULTIVALUE, Sum from Query webi 3.1
All,
I have a query that returns multiple rows in the following format
Region Sales
US 800
UK 500
APAC 400
I have no control over query ( It's MDX generated through a cube universe)
My requirement is to present this as a single line item on the report after the header.
Total Sales: 1700.
Since i don't want to render a table and hide all three rows to get the sum, i am wondering if there is a way to achive this using a formula- may be access the query results directly and apply calculation on top.
I have tried some, but i am afraid my expertise is rather limited- hence no success
Any advice would be much appreciated.
Bashir,
I might be mis-understanding this..but this is my data provider ( my query) result.. consider it with one dimension and one measure
Region | Sales
US | 800
UK | 500
APAC | 400
Now if i use a simple summation formula, for that single column cell
it would be like
=
"Sum([My Query].[Sales])"
This will work if i have a table and sum this total at the end of it.
My aim is to get this output in a single cell and this formula doesn't work there.
I am not sure if i understand your recommendation correctly
Edited by: ramaks on Mar 1, 2010 8:48 PM
Edited by: ramaks on Mar 1, 2010 8:49 PM
Edited by: ramaks on Mar 1, 2010 8:49 PM
Edited by: ramaks on Mar 1, 2010 8:49 PM
Similar Messages
-
How to Create/Modify/Delete a query view from the web template in BI 7.0
All:
In BW 3.5, the <b>Query Selection View</b> web item was introduced for users to create a query view to save the navigational state of a query. This web item was also available to modify and delete an existing query view.
The Query Selection View web item <u>does not</u> exist in BI 7.0. I see the drop down web item can be used to display the query views associated to a query.
Can anyone share how to create,modify,save or delete a <b>query view</b> on the web in BI 7.0
Thanks,
KumarSanjay, we experienced the same issue. Below are a few pieces of information that may be of help: 1-The Save As button on the 0ANALYZER template saves the query to the portal. From Bex Web or Bex Analyzer, you have no access to these saved views. We created a ZANALYZER copy of the 0ANALYZER template and removed the Save As button. 2- If you right mouse click on any item in the query results grid of Bex Web, you get a small menu. Clicking on the menu item Save View will save the view to BI. You do not have the ability to delete the saved views from Bex Web. However, you can delete them from Bex Analyzer. This was not an option for us since most of our users are using Bex Web. 3- On the same menu, clicking on Bookmark, saves the navigation and also opens the Internet Explorer Favorites maintence window. The navigation is saved as an entry into the users Internet Explorer favorites where they can organize and delete their entries. However, deleting the favorite does not delete the entry for the bookmark in BI. The bookmarks are stored in table RSWR_DATA. Program RSWR_BOOKMARK_REORG can be used to manage the saved bookmarks. We are loading RSWR_DATA into a chracteristic so that we can query the information in order to help us manage it. I hope this helps you and others that appear to be struggling with the issue of saved views in Bex Web.
-
How to execute a BI query/view from a web dynpro application?
Hi all,
I am trying to connect to a BI system from a Web Dynpro application. I have to execute a view/query and process the output in my application. Please guide me about how to establish the connection to the BI system from my web dynpro application and then execute the query/view.
I have tried executing/modelling the BI query/view using Visual Composer but I get an error saying 'QueryView Instantiation failed' when I try to drag the view/query on to the design board.
Please guide me and help me achieve this.
Thanks & Regards,
KishanHi Kishan,
Define system for BI in portal and define JCo destination, then from WDJ application use can query BI.
Create the Technical System and connect with JCO Destinations
or
Connecting through the BI Connecters (ex: XMLA Connecter)
Refer below link:-
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1?quicklink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
In this document you will get details related to connector and other admin activity.
Hope this may help you.
Deepak!!! -
GoTo - Jump to Target from Query to Web Interface
Hi Guru's,
I'm trying to make a GoTo from a web query (sender) to a BPS web interface (as receiver). That's ok for the moment ! My problem is to pass the parameters from the query for example the CompanyCode to the dropdownlist of the web interface which contain the CompanyCode ...
Someone could help me ?
Thanks in advance,
AleksiThere is an Option within RSBBS to jump from a query (3.X) to BI 7.0 web app. I tried this and it did not transfer the state to the 7.0 web app.
I dont think it will work jumping from 7.0 to BW 3.X app.
Thanks. -
Query: how to avoid multiple POs from being combined into delivery
Hi all,
We are working on an enhancement.
The requirement is:
We need to avoid multiple POs from being combined into one delivery.
Any pointers in this regard would be highly appreciated.
regards
GurpreetHi Murali,
I think your suggestion should solve Gurpreets problem.
I have a query here.
In the copy controls VLTA, defines between sales doc to dlivery doc.
Here we want to maintain copy control between purchasing doc to delivery doc.
How do we achive this?
Also in my view we should write a new combination requirement.
Please check if combination requirement 51 can be used?
Regards
Abhishek -
I have a site collection with multiple subsites. All of the subsites have a list called "Status" which is using content types for its column management.
I want to use a content query web part in the parent site level to query 1 item from everyone of these subsites. Is there a way to do this?
The only way I can do this is if I create an individual content query web part for each subsite as I did not find an option for my content query to query from multiple subsites at once.You can do it using CQWP. For instance, if you have a site column called 'Rollup' that is part of your content type, that will be part of all your subsites custom list 'Status'. On the root site CQWP set the source to 'Show item from the following site and
all subsites' and choose your root site (first image below). Then add 'additional filters' and set the value to 'Yes' as shown in second figure below; you will be able to roll up all the data to the root site like below. Now, you need to decide what query
field you will use that is unique and that can roll up.
Srini Sistla Twitter: @srinisistla Blog: http://blog.srinisistla.com -
Call BW query from a Web application
Hi,
I am trying to call a BW query from a Web application. Could you please let me know how to pass the parameters to the query.
Thanks,
RekhaI don't know about db2 APIS, but you can use JDBC to connect to DB2 physical files/tables with the DB2 driver. You would need the jar file with the driver info though. I've done this with the webshpere appserver.
import com.ibm.db2.jdbc.app.DB2Driver;
Class.forName("com.ibm.db2.jdbc.app.DB2Driver");
connectionVar = DriverManager.getConnection("jdbc:db2://SERVERNAME/LIBRARY", "user", "passwd");
That's the basic info that will get you connected and then you can access any files or tables that are in that library with SQL. You would have to use the Java API though - statements, resulsets etc. Hope it helps. -
Error while executing report from Query designer
Hi All,
When I am executing from query designer, I am getting following error.
Even I can't execute it from another portal where i created source system of BI server.
But i can execute queriew from Query analyser and t-code RSRT.
When I execute from Query desinger the url is as follows.
http://XXX:00/irj/servlet/prt/portal/prtroot/pcd!3aportalcontent!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=0PA_C01_Q0201&VARIABLE_SCREEN=X&DUMMY=5_
And the error is:
500 Internal Server Error
BEx Web Application
Failed to process request; contact your system administrator
Information for Administrator
To avoid this exception see the steps below. To help SAP better investigate this issue, you will need to provide the diagnostic information from these steps.
1. Most likely, the issue you are experiencing has already been corrected. Please make sure that the most recent patch level is deployed on your system according to notes 1033246 and 1011241. Starting with Support Package Stack 16 patch level 30, BI Java is delivered according to the synchronized delivery process described in the note 1033246.
2. Please ensure that NetWeaver Business Intelligence Diagnostics & Support Desktop Tool does not report any issues on your server according to note 937697. You can start it by clicking here (administrator permissions are required).
3. When opening any customer message on this issue, please attach:
Support Desktop Tool support info ZIP file according to note 937697,*
Required information for reproduction according to note 948490.*
Error Summary
Exception occured while processing the current request; this exception cannot be handled by the application or framework
If the information on this page does not help you locate and correct the cause of the problem, contact your system administrator
To facilitate analysis of the problem, keep a copy of this error page Hint: Most Web browsers allow you to select all content, and copy and paste it into an empty document (such as in an email or simple text file)
Root Cause
The initial exception that caused the request to fail was:
java.lang.NullPointerException
java.lang.NullPointerException
at com.sap.ip.bi.webapplications.runtime.service.metadata.impl.MetadataAccess.getMetadataModel(MetadataAccess.java:139)
at com.sap.ip.bi.webapplications.runtime.impl.Page.getMetadataModel(Page.java:8953)
at com.sap.ip.bi.webapplications.runtime.impl.Page.normalizeCommands(Page.java:4963)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4473)
at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:3316)
Details: Full Exception Chain
System Environment
Server
BI Java Release: 7 - Patch level: 0000000100 - Description: BI Web Applications Java - Additional info: - Production mode: true
BI ABAP unknown
Java Virtual Machine Java HotSpot(TM) 64-Bit Server VM - Sun Microsystems Inc. - 1.4.2_24-b04
Operating System SunOS - amd64 - 5.10
REgards
MohanHi mohan ,
You can check these OSS notes for the issue .
1. 795699 - Customizing default error messages for HTTP
2. 807000 - Http requests are not fully read after timeout
3. 804124 - HTTP communication with XI Adapter Engine fails
Regards,
Lokesh -
Posting an XML Variable to a BLS Transaction from a web page
I am working in xMII 11.5 with all the latest service packs. I know this is probably a really basic question but I am stumped.
I am trying to pass a multi row and multi column XML data set from a web page into a BLS transaction (actually, two of them) in order to populate the parameter. I want to use the Web Service interface to the transaction. I have tried using parameters on an Xacute Query in an Applet as well with an equal lack of success. I cannot persuade the transaction to see the incoming variable as an XML data type. I have tried encoding and decoding and string to xml conversions and nothing seems to successfully allow the data set to be seen withing the BLS as anything but a string. The String to XML action will not handle the number of columns in the dataset though it seems to work if the data set has only one column. The data set is formatted in the proper "Rowsets/Rowset/Row" format. I have considered writing the data to an XML file on the server (I know I can deal with that) but that is not acceptable in this application.
Can someone share the secret with me?
...SparksParameter value:
r1d1,r1d2,r1d3;r2d1,r2d2,r2d3;r3d1,r3d2,r3d2
Pass thru String List to Xml Parser with delim ";"
<Row>
<Item>r1d1,r1d2,r1d3</Item>
</Row>
<Row>
<Item>r2d1,r2d2,r2d3</Item>
</Row>
<Row>
<Item>r3d1,r3d2,r3d2</Item>
</Row>
Repeat on each row/item and pass thru String List to Xml Parser with delim ","
<Row>
<Item>r1d1</Item>
</Row>
<Row>
<Item>r1d2</Item>
</Row>
<Row>
<Item>r1d3</Item>
</Row>
Of course, your columns aren't flat but they are easy to ref, to get "column 2" for example:
StringListToXml_1.Output{/Rowsets/Rowset/Row[2]/Item}
So now you have rows and columns. Assign your data to your BAPI structured as needed.
We have passed complex XML via the SOAP interface in 11.5, but it involved some "hacks". Basically we passed the sterilized XML via a String Type Parameter, and then unserialized it inside the BLT.
I have been told on this board that there is a solution to passing XML data vie the SOAP interface using ref docs, but i have never personally seen a working example. -
How to access data from SAP Tables from a Webi report
hi all,
I have a webi report for financial data and from a Bex query which is build on a Cube (this has data from 2 SAP ECC systems)
i want to build a functionality where in i can call some SAP Table data from this webi report. i should be able to pass information or some hard code where it can understand the source system it has to pick data from.
in SAP BI, we have this ption wherein we can achieve this through RRI..
is this possible in Webi ?
Thanks
SKSHi.
Create a universe on top of SAP Tables and create a webi report.
Using hyper link /open doc we can call this report from the webi report created on top of your Cube .
@Sri -
Content query web part is not working after chaning the DNS entry
Hi all,
We have a content query web part in the sharepoint site but it is not working after changing the DNS Entry for the web site ipaddress from one server to other . But it is working fine on the server, if we try to access the site from other system content
quey server its not working fine and its giving error message as bellow.
Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
Can anyone help me to fix this issue please.I have custom XSLT . But it is working fine before changing the dns entry as soon as we change the DNS entry the content quey web part is not working. I tried to delete the content query web part and add it once again to the page, As soon as content query
web part is added to the page the fallowing error message is displayed.
Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
Can anyone help me to fix this issue please. -
Use APD to fetch data from Query's Structure
Hi,
i have created a query , with a fixed structure in the Row area and two keyfigures.
I have this query on DSO.
i want to store the same query output to one table.
How can i achive this?
I think to use the APD, but as i have fix structure in query , APD is not the solution . correct me if i am worng.
Please suggest.
Regards,
Macwan James.Hi SVU123,
Currently I am trying to load data into ODS only. But I want to avoid this path. I can always extract data out of the ODS to Flat File through Open Hub, but that will require twice the time to extract data.
First from Query to ODS and second from ODS to Flat File through open hub.
Basically, I want to automate this process and that is why I don't want to opt the path for RSCRM_BAPI t-code.
- Danny -
Determine BADI from Enterprise Web Service?
Hi all,
We've just started to work with Enterprise Web Services and have a need to enhance one of them. Using ES Workplace we have identified the 'Read Purchase Order' as a candidate and want to see what capabilities exist in making minor changes. The resources that we have found so far that detail this involve implementing a BADI.
My question is, how do we determine what the BADI is for each enterprise web service? I do not see a BADI name listed in the es workplace page for the web service. Is there a tcode on the ECC system that can use one of the values listed from the es workplace page?
http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=32D255D472EA11DA36BB000F20DAC9EFHello,
BADI's relevant for each Web Service is provided at ES Workplace. For example, PO Query Web service definition ECC_PURCHASEORDER002QR, BADI is PUR_SE_PURCHASEORDER002QR which is mentioned in the link:
http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=32D255D472EA11DA36BB000F20DAC9EF
I hope you may also search BADI's in SE18 using wild search 'PURCHASEORDER002QR'.
Thanks,
Venu -
Content Query Web Part - Custom ItemStyle.xsl to display image with hyperlink
I don't have access to InfoPath or SharePoint Designer to edit the ItemStyle.xsl. So any solution suggested is preffered to be a manual change to ItemStyle.xsl
I use Content Query Web part (in the main site) to list all the Wikis created in the a sub-site. The idea is to link each wiki to its printable version stored elsewhere.
The wiki has custom column say "Link" that hold hyperlinks to the printable version.
I want to create a column in the content query web part that displays an image (same image for all wikis stored in the site Assets) but on clicking takes me to the printable version page.
I got the image displayed but the hyperlink takes me to the location where the image is stored and not to the printable version page.
<!--Variable declared to read the link from the column Link-->
<xsl:variable name="PDFLink">
<xsl:value-of select="@Link"/>
</xsl:variable>
<!-- Image to the hyperlink-->
<a href="{$PDFLink}">
<img src="../Images/Icon.jpg"/>
</a>Hyperlink column is treated a little different. The field, by default, puts the URL and then the friendly name concatenated together, but separated by a comma. So I created two variables one that pulls everythng before the comma and the other after. Then
the html "a" tag looks like this:
<!--Variable declared to read the link from the column Link-->
<xsl:variable name="ActualLink" select="substring-before(@LinkColName,',')"/>
<xsl:variable name="FriendlyName" select="substring-after(@LinkColName,',')"/>
<!-- Image to the hyperlink-->
<a href="{$ActualLink}"><xsl:value-of select="$LinkColumnName"/>
<img src="/Images/Icon.jpg">
</a> -
Content Query Web Part in SP2013
Hi All,
I am exploring SP2013 OOTB Web Parts. I am looking samples / reference for all OOTB Web Parts available or newly introduced in SP 2013. Can anybody share steps to add and configure Content Query Web Part in SharePoint 2013?
Thanks,
Senthil
Senthil.NKNCQWB is supported for Publishing Sites or site having publishing feature turned on, on other it will not work as expected.
You can add it on the page from ribbon insert web part> from categories select Content Rollup > next pane slect Content Query.
http://info.axceler.com/Blog/bid/116286/Content-Query-Web-Part-vs-Content-Search-Web-Part
http://www.cwheeler76.com/Lists/Posts/Post.aspx?List=9a19060b-0efe-4368-8360-b07d23dc5c7b&ID=6&Web=916c3f13-7f62-4b71-b302-6fd9106b4bb2
here is MSDN to customize it:
http://msdn.microsoft.com/en-us/library/ff650512.aspx
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog
Maybe you are looking for
-
I am using a T61 ThinkPad with an external hard drive and my itunes library keeps disapearing but remains on the external drive. Any idea how to fix this so my music doesn't disapear all the time? It's a real drag pulling music back into iTunes each
-
Plug-Ins and Extractors - Related to Upgrade of Source system
Hi, We are upgrading from R3 to ECC. Can I say that, if the Plug-in in current R3 system and the new system(post upgrade)(ECC) are same then, the extractors will also remain same ? hence, nothing will be affected in BW ? For example, if the current s
-
Getting Dynamic Error Text for Error Handling in BPM
Hello, is there any way to get the error message or further details on an exception handler in BPM? I would like to pass the detailed error description of the error that has happened in BPM to an alert using a separate Alert container variable. Is th
-
Missing images in Application Builder
I've updated ApplExpr from 2.2 to 3.0 and everything seems fine. However, I seem to be missing images. Situation: Oracle 10gR1, using apache as db_2 and database as db_1. When I access ApplExpr from an external machine such as my personal PC, I see e
-
Please help me in this scenario .
Hello Please help me in below scenario . We are loading the data from Source system to one cube A as delta load . then from cube to A to ODS B as delta load once again , All key figures are set as addivitive . Then ODS B to cube C once again as d