Use of Arrays in POJO Data Source - CR4E
Hi,
I would want to use arrays in POJO's that is used as data source. Given below is an example POJO
public class POJODataSource {
private String[] vehUsgType;
private String[] soundRepro1;
private String[] finRespType ;
public String[] getFinRespType() {
return finRespType;
public void setFinRespType(String[] finRespType) {
this.finRespType = finRespType;
public String[] getSoundRepro1() {
return soundRepro1;
public void setSoundRepro1(String[] soundRepro1) {
this.soundRepro1 = soundRepro1;
public String[] getVehUsgType() {
return vehUsgType;
public void setVehUsgType(String[] vehUsgType) {
this.vehUsgType = vehUsgType;
Does CR4E recognize arrays in POJO's. If so How do we use it in the report. An example of how to use and iterate thry the arrays would be appreciated.
thanks,
Ravi Narala
Edited by: RNarala on Jul 24, 2009 9:40 AM
POJO Factory doesn't support arrays, or hierarchial indexed properties.
Sincerely,
Ted Ueda
Similar Messages
-
UME using SAP R/3 as Data Source
Hi,
We are trying to set User authentication to SAP R/3 system, not load balanced system, on the User Management Configuration values: Client=501, Userid=sapjsf, Password=pwd, sys id=RS1, Group and Message server= blank, Application server= server.company.com, Sys. number=00, Max pool=10, Max wait=300000.
When testing connection, I get this message:
(System ID): com.sap.mw.jco.JCO$Exception: (101) RFC_ERROR_PROGRAM: 'mshost' missing
(System ID & System Number): OK
Is this an error? since our SAP R/3 is not a load balanced system.
Did we miss any item for the setup, in dataSourceConfiguration_r3.xml? The SAPJSF "communication user" got the right sap role and authorizations.
Portal version : EP6 SR1
Regards
HuzaifahHi,
If u want to Use The SAP R3 System as Data source u may
do it from config tool if u got following message.
WARNING! You are not allowed to select dataSourceConfiguration_r3.xml as active configuration file.
(For Portal Patch less than SP13 u must download two data source file which is attached with note - 718383
and upload it to portal which is described in the note)
the following are the procedure which i apply ,
Go to System Administration -> System Configuration ->UM Configuration
Now Do not change Data source from Here.
Make sure your data source is "Database Only"
(dataSourceConfiguration_database_only.xml)
Now enter the following value under SAP System Tab.
Client : - Your sap system client
User:- Sap user
password: - password
System language:- your system language
Application server: - Host name or IP of sap system
System Number : - SAP instance number
Maximum Size of Connection Pool : - As per req.
Maximum Wait Time in Milliseconds :- 10000
Now, save the changes and shutdown the portal server.
Using Config Tool change the data source. Run the following
<drive:\> usr\sap\<sid>\JC<instance number>\J2EE\configtool\configtool.bat
(Make sure the portal system is shutdown)
Under Cluster Data -> Global Server Configuration -> services -> com.sap.security.core.ume.services
Now find the key: - ume.persistence.data_source_configuration
The default was : - dataSourceConfiguration_database_only.xml
change the value to :- dataSourceConfiguration_r3.xml
click on set and from flie-> apply
Now restart the portal server ur data source changer to SAP R3 System
Regards,
Kaushal -
Problem sharing POJO Data Source while exporting
Hi,<br>
I have an issue that stops me exporting a report to PDF. I have two reports that share a POJO data source. The POJO is stored<br> in the session. The same POJO is being passed to both of the reports. While one of the them exports it perfectly the<br> other one fails <b>when the reports are opened simultaneously.</b> It does not fail if opened alone. Given below is the error.<br> I would like to know if there are any limitation that would stop exporting a report when sharing a data source concurrently.<br><br>
8/27/09 8:47:42:791 EDT] 0000003b SystemErr R log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.exporters.destination.disk.c)<br>
[8/27/09 8:47:42:791 EDT] 0000003b SystemErr R log4j:WARN Please initialize the log4j system properly.<br>
[8/27/09 8:47:42:900 EDT] 0000003b SystemErr R com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: An error<br> occured while exporting the report---- Error code:-2147467259 Error code name:failed<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.fb.am.servlets.WSReportServlet.doGet(WSReportServlet.java:46)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at <br>com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)<br>
[8/27/09 8:47:42:916 EDT] 0000003b SystemErr R Caused by: com.businessobjects.reports.sdk.d: An error occured while <br>exporting the report
at com.businessobjects.reports.sdk.b.b.int(Unknown Source)<br>
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br>
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br>
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)<br>
at com.fb.am.servlets.WSReportServlet.doGet(WSReportServlet.java:46)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br>
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)<br>
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)<br>
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)<br>
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)<br>
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)<br>
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)<br>
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)<br>
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)<br>
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)<br>
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)<br>
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)<br>
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)<br>
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)<br>
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)<br>
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)<br>
Caused by: com.crystaldecisions.reports.exporters.format.page.pdf.a.a: Unexpected exception thrown<br>
at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)<br>
at com.crystaldecisions.reports.a.e.if(Unknown Source)<br>
at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)<br>
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)<br>
... 31 more
Caused by: java.lang.IllegalArgumentException
at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)<br>
... 35 more<br><br>
[8/27/09 8:47:42:963 EDT] 0000003b SystemErr R at com.businessobjects.reports.sdk.b.b.int(Unknown Source)<br>
[8/27/09 8:47:42:963 EDT] 0000003b SystemErr R at <br>com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br>
[8/27/09 8:47:42:963 EDT] 0000003b SystemErr R at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br>
[8/27/09 8:47:42:963 EDT] 0000003b SystemErr R at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br>
[8/27/09 8:47:42:963 EDT] 0000003b SystemErr R at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown<br> Source)
[8/27/09 8:47:42:963 EDT] 0000003b SystemErr R at <br>com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
[8/27/09 8:47:42:963 EDT] 0000003b SystemErr R at <br>com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
[8/27/09 8:47:42:978 EDT] 0000003b SystemErr R ... 24 more<br>
[8/27/09 8:47:42:978 EDT] 0000003b SystemErr R Caused by: com.crystaldecisions.reports.exporters.format.page.pdf.a.a:<br> Unexpected exception thrown<br>
at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)<br>
at com.crystaldecisions.reports.a.e.if(Unknown Source)<br>
at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)<br>
at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)<br>
at com.businessobjects.reports.sdk.b.b.int(Unknown Source)<br>
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br>
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br>
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)<br>
at com.fb.am.servlets.WSReportServlet.doGet(WSReportServlet.java:46)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)<br>
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br>
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)<br>
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)<br>
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)<br>
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)<br>
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)<br>
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)<br>
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)<br>
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)<br>
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)<br>
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)<br>
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)<br>
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)<br>
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)<br>
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)<br>
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)<br>
Caused by: java.lang.IllegalArgumentException<br>
at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)<br>
... 35 more<br><br>
thanks
Ravi NaralaThis is a Plain java object with getters and setters. . Below is the sample
public class Test_POJO {
private String advantageDis;
private int vehCount;
private int driverCount;
private String agentNumber;
private String accountInfo;
private String accountType;
public String getAccountInfo() {
return accountInfo;
public void setAccountInfo(String accountInfo) {
this.accountInfo = accountInfo;
public String getAccountType() {
return accountType;
public void setAccountType(String accountType) {
this.accountType = accountType;
public String getAdvantageDis() {
return advantageDis;
public void setAdvantageDis(String advantageDis) {
this.advantageDis = advantageDis;
public String getAgentNumber() {
return agentNumber;
public void setAgentNumber(String agentNumber) {
this.agentNumber = agentNumber;
public int getDriverCount() {
return driverCount;
public void setDriverCount(int driverCount) {
this.driverCount = driverCount;
This object is on the session with values. This POJO is shared by 2 reports. When I run the 2 reports simultaneously. One of them fails. If I try to access one at a time then it works.
thanks,
Ravi -
Using COGNOS as an infoprovider/data source for WebI...?
I saw a job posting today that listed a requirement that I am pretty sure is IMPOSSIBLE...
WebIntelligence report experience with using COGNOS as an infoprovider/data source for BOBJ is an important skill.
Data sources for client will be both COGNOS and SAP.
Now, it wouldn't be the first time that a client spec asked for the IMPOSSIBLE- but it got me to wondering if maybe I am wrong in my understanding that COGNOS 8 still uses PowerPlay cubes that are 100% proprietary and can only be read with the CONGOS report-design tools.
Is there actually a "supported" way to use COGNOS as an infoprovider/data source for BOBJ...?
Maybe using some COGNOS equivalent of QAAS...?
I have no intention of applying for this job - but would like to know if it is technically possible.It's been more than a week since I posted this question and nobody came up with a "YES" here or on the BOB Forums...so I am going to close this question as an IMPOSSIBLE request.
Based on the current technology - COGNOS cubes can not be used as an infoprovider/data source for WebIntelligence. -
Hi
I am using POJO as the data source and dynamically loading data (datbase controller) from a CSV file to the POJO to report and then exporting the reports to the different formats (pdf, rtf, etc.,) using Java code.
My question is if a report is designed already using a POJO given to me and later the POJO is changed (let us a field name is added or deleted) then how that is going to effect the report. How will we refresh that fields in a report again and add/delete the fields compatible to the updated POJO. When I try to do this, the only way I saw was to add the updated POJO again and remeove the old one. But it actually deletes the entire info of the old POJO. Is there a way that I add updated info with the old data (or info) being there in my report. Not having two POJO on my report. Instead updating the POJO in my report.
Thanks
LalPlease re-post if this is still an issue to the Java Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly
-
POJO Data Source where POJO includes reference to another POJO
<p>All of the samples and webinars I have seen that deal with using a POJO as a data source, use a POJO that includes int, String, or Date fields. Suppose you have an OrderItem class, which contains a product (class Product) and numOrdered (type int). The Product class has a description and so forth. Is it possible to use both POJOs in the report? For example, can you link the two classes together? In the demos I've seen, one POJO is dragged to the report, then a productId is linked to a column in a database table. We want to design reports that are database-independent, so we would like to use POJOs. Also, can you use POJOs in reports outside of Crystal Reports for Eclipse?</p>
Hi,
I am new to Crystal.
I have similar requirements as the original post. POJO in Crystal is useful only when you can transparently deal with your existing POJO model and navigate all the relationships you need for the report. If I have to "flatten" complex object graph of my complex POJO model, then what benefit am I getting here?
We already have mechanism in our webapp to populate our POJOs with data from our Database using JPA/JDO queries. Basically, we dont want to hardcode any SQL or direct knowledge of database.
ReportMill (another report engine) lets you navigate all relationships in your OO model as you would in any Java class. Without such support, for each report, I have to "somehow" flatten complex model into essentially a "Row" object to satisfy Crystal? Is that what I am hearing?
Someone please help with what is possible or what is not.
Thanks
-Chris -
USING TEMPLATE IN A DIFFERENT DATA SOURCE BUT WITH THE SAME GL QUBE
Hi, I want to chance connection in a SV Workbook to another data source. As we are having several test instances I need to be able to use the same Query workbook on different instances.
I've not been able to reproduce the steps to get the SV to ask for the new instance/source.
Below is what I did before but can't get to work again. Please advice
1. Open Excel and Open the SV Template you want to use that containing a different Shared URL (You can check this with (T) Smat View > Sheet Info. Login as User/PW: Casey.Brown/<weekly PW>
2. Make sure SV Options Shared Connection URL is set to point to the new instance SV > Options > Advanced > Shared Connections URL, for example 'https://fapXXXX-bi.oracleads.com/workspace/SmartViewProviders' (B) OK
3. Open Smart View Panel Navigator > Open > Smart View Panel
4. Select a 'Recently Used' connection in the Panel that points to the new instance. If you don't have it create one by connecting to your new instance and then Disconnect All.
5. In the Login to Fusion Applications window login as User/PW: Casey.Brown/<weekly PW>
(B) Sign In
NOTE: You have to click on button Sign In. You cannot press enter on keyboard as this makes the login window to pop up again. This is a known issue.
6. In the Connect to Data Source pop up window login as User/PW: Casey.Brown/<weekly PW>
(B) Connect
A pop up window 'Smart View' will pop up: 'The worksheet contains data from prior operation. What do you want to do with the contents of the sheet?
-> Clear sheet contents and POV
-> Reuse sheet contents only (Free operation will take place, existiong POV will be lost.)
-> Reuse sheet contents and POV (New ad hoc connection/Smart Slice must be consistent wit existing contents.)
7. Select 'Reuse sheet contents and POV
Depending on seeded data member changes you may receive 'Input Grid contains unknown Memebers' pop up window.
(B) OK
If you get above you need to correct unvalid members.
For example removing Budget-Budget and replace it with Budget- for the Scenario dimension. Then you will be able to use the sheet with the new data source.
Please advice on what step is needed to get the system to provide the pop up window 'Smart View': 'The worksheet contains data from prior operation. What do you want to do with the contents of the sheet?
Thanks,
Max.You can only sync with one iTunes library. However, you can manage music and videos among different computer/iTunes libraries. See:
Using iPhone, iPad, or iPod with multiple computers
If you want to change syncing computers see:
Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
If all the media is in the iTunes library of the second computer then you can omit the transferring media steps. -
How to create olap cube using Named Query Table in Data source View
I Create on OLAP Cube using Existing Tables Its Working Fine But When i Use Named Query Table with RelationShip To other Named query Table It Not Working .So give me some deep Clarification On Olap Cube for Better Understanding
ThanksHi Pawan,
What do you mean "It Not Working"? As Kamath said, please post the detail error message, so that we can make further analysis.
In the Data Source View of a CUBE, we can define a named query. In a named query, you can specify an SQL expression to select rows and columns returned from one or more tables in one or more data sources. A named query is like any other table in a data source
view (DSV) with rows and relationships, except that the named query is based on an expression.
Reference:Define Named Queries in a Data Source View (Analysis Services)
Regards,
Charlie Liao
TechNet Community Support -
Hi All,
I got a client requirement to create reports using SharePoint List as data source. The report should show reflection depends on values changed (I mean animation).
I have heard about the power view/power pivot which does this kind of animations in reports.
Can someone please guide me on creating reports which shows animations
In power view/power pivot using SharePoint List as data source in SharePoint 2010.
Thanks in advance.
MercuryManHi MercuryMan,
Yes, Power View, a feature of SQL Server 2012 Reporting Services Add-in for Microsoft SharePoint Server 2010 or SharePoint 2013 Enterprise Edition, is an interactive data exploration, visualization, and presentation experience.
It provides multiple views featuring tiles, slicers, a chart filter, and a number of visualizations, including cards, small multiples, and a bubble chart. So, we can use Power View to do intuitive ad-hoc reporting for business users such as data analysts, business
decision makers, and information workers.
Currently, Power View report only supports two types of data models: PowerPivot Worksheet, and data models based on Analysis Services Tabular Model or Multidimensional Cube.
In your scenario, you can create PowerPivot worksheets using SharePoint List as data source, deploy the PowerPivot worksheet to a SharePoint Library or PowerPivot Gallery, and then generate Power View reports based on the PowerPivot worksheets on the SharePoint
site.
To use SharePoint List as data source in Excel PowerPivot, you can refer to the following resource:
http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/07/11/excel-services-using-a-sharepoint-list-as-a-data-source.aspx
http://technet.microsoft.com/en-us/library/hh230322.aspx
To create a Power View report based on PowerPivot model, you can refer to the following links:
http://technet.microsoft.com/en-us/library/hh231522.aspx
http://technet.microsoft.com/en-us/library/hh759325.aspx
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
Hello,
I have a annoying issue with using an excel 2010 file as a data source for a universe. Here is the background information.
Setup.
Client: Laptop running Win XP 32bit, Client tools installed with SP2 v9 (latest)
Server: Win 2008 x64, BOE 4.0 SP2 v9 (latest)
Task:
1. On Client, with information design tool, created Project, DB Connection, Data foundation using an excel source on a share
server\share\data.xlsx
2.. Published everything to Repository
3. Try to load univerise in Web Intelligence via creating a new report. I Drag accross the dimensions. When i go to preview data recieve error
Database error: [Microsoft][ODBC Excel Driver] External table is not in the expected format.. (IES 10901) (WIS 10901)
4. If i change the excel file to a 2003 format *.xls it all works correctly. Issue being that 2003 cannot hold as much data as a 2010 file so i need to use 2010.
Extra Notes:
1. Both the client and server have the latest Access drivers http://www.microsoft.com/download/en/details.aspx?id=13255
2. Both client and server have a system DSN setup using the 32bit ODBC, same DSN names to the network share.
3. The data excel source sits on the server on a share.
4. I am believing that the isssue is within the area of BOE as when you connect to the excel file via ODBC using crystal 2011, you need to right click on the connection and tick "System Tables" to be able to use the excel 2010 file. The BOE Information design tool does not seem to have this option??
Any advice with this would be great?
thanks
davidIssue Resolved:
Install
Access Database Engine 2010 Service Pack 1 on the server
http://support.microsoft.com/kb/2460011
Reboot server once completed. -
How to use a property from other data source
Scenario: we have 2 datasources, that each have their own set of records having different properties. What I need to do is grab 1 property that exists in all records of 1 of the datasources and display it in the records of the other datasource. There is 1 "common" property (called by different names) in the records of both Data Sources, that have the same value; so this property could be the link between those records even though they belong to 2 different Data Sources.
Here's a simple example:
Data Source " Department" has records that have the properties: 'Name', 'Age' and 'Nationality'.
Data Source "Staff" has records that have the properties:'Staff_name', 'Position'.
The 'Name' and 'Staff_name' have the same values, and can be used to link the 2 records.
I'd like to get the records in the 'Department' data souce to also contain the property 'Position" from the "Staff" datasource .
Is there a manipulator that can do this?
Thanks!
JThanks Pravin,
But I don't want to join all data from the 2 datasources - I just want one property from one data source to appear in the records of the other data source. -
Using MS Access as a Data Source for BW
I have used MS Excel spreadsheets and 'mainframe' databases as data sources for BW in the past.
The company I ma working with has a large MS Access database containing historical sales data (from an R/3 3.1H system) that they wish to upload into BW v3.5 for comparison purposes.
My undersatnding was that MS Access was not a valid data source for BW. Could someone point out the error of my thinking and suggest how to set up MS Access as a data source.
Thanks in anticipationHi Austen,
Welcome onboard!
True, as far as I know, MS Access is not supported by BW. But you can use MSSQL instead. MSSQL is supported. I think the free version of MSSQL called <b>MSDE</b> (<i>Microsoft SQL Desktop Edition</i>) is also supported (<i>Although I have not tried it yet</i>)
Importing MSACCESS data to a similar table in MSSQL is very easy. Just use the <b>Data Transfer Utility</b> bundled with MSSQL. It will bulk insert data from MSACCESS to MSSQL. Then from MSSQL, you can set up BW to connect to it and you are done...
Hope I have helped. if I did, please grant points...
Regards,
Jkyle -
Using Oracle Stored Proc as Data Source for PowerBuilder Data Window Object
Hi,
I'm trying to use an Oracle stored procedure as the data source for a PowerBuilder data window object. I'm using the following (which is a variation of an example given on Sybase's web site, with the appropriate database/column name changes and use of %TYPE):
======================
CREATE OR REPLACE PACKAGE pkg_dw_sp_example
AS
TYPE typ_example_rec1 IS RECORD(
v_comcodsa st_sa.comcodsa%TYPE,
v_comnamsa st_sa.comnamsa%TYPE,
v_cocitysa st_sa.cocitysa%TYPE);
TYPE cur_example_cur1 IS REF CURSOR;
RETURN typ_example_rec1;
END;
======================
CREATE OR REPLACE PROCEDURE sp_dw_example1
(arg_teamid IN st_sa.comcodsa%TYPE,
cur_team IN OUT pkg_dw_sp_example.cur_example_cur1)
AS
BEGIN
OPEN cur_team FOR
SELECT comcodsa,
comnamsa,
cocitysa
FROM st_sa
WHERE st_sa.comcodha = arg_teamid;
END sp_dw_example1;
======================
The package is created okay, but the procedure is saved with compilation errors. Unfortunately, Oracle does not indicate what the errors are (great product), so I have no idea what it is complaining about.
Questions:
1) Can anyone point me to/or provide a better example?
2) The examples in books I have seen all would have declared the procedure in the package specification - is the above valid?
3) This is a PowerBuilder specific question, but if the package does not show up in the stored procedure list when creating a data window object, how does one use it as a data source?
Oracle 8.1.7
PowerBuilder 8.0.1
Thanks,
Ed Holloman1) Everything looks fine with your code. You did not mention the environment you are compiling your code in, but if it is SQL*Plus, you can type 'show errors' after the compile and it will list the errors and line numbers for you.
2) You can include the procedure in the package - in which case you would have a procedure declaration in the spec and the actual procedure in the body. You would no longer include the 'create or replace' - the declaration and procedure would just start with 'procedure'. The spec would look include:
PROCEDURE sp_dw_example1
(arg_teamid IN st_sa.comcodsa%TYPE,
cur_team OUT cur_example_cur1);Note the removal of the package reference (since we are now IN the package) and the second parameter is just OUT instead of IN OUT.
3) Not much, but I know that in PB8, our developers have said they have visibility now to the package when creating a DW - something they didn't have in PB7. Previously, we had to create a dummy standalone procedure that they would select and they would later modify the code to include the package prefix.
Hope this helps a bit. -
Using Oracle XE as a Data Source for Powerpivot
I will be migrating my database from MS Access 2007 (*.accdb) to an Oracle XE. Any good links or papers on this or possibly any past experience with this (powerpivot connection)? Just trying to make sure that the connector is already within the Powerpivot download.
Using Powerpivot v2.0
For more info about powerpivot:
www.powerpivot.comHello,
I'm not sure this is an XE-specific question. However, there's not much examples outside, probably because it's not a very common solution. I'd say it should work, as PowerPivot offers OLE DB and ODBC connectors and XE comes with appropriate ODBC drivers installed. So, as long as your XE is on the same machine as your PowerPivot, you don't have to care much about that. Otherwhise you'll probably have to install the ODBC driver, e.g. from [url http://www.oracle.com/technetwork/developer-tools/visual-studio/downloads/index.html]Oracle Data Access Components (ODAC).
Then create your ODBC data source, test it, and link it in PowerPivot.
-Udo -
Handling parameters when using BI Server as a Data Source
Hi,
Following an upgrade of our BI Publisher 10g content to 11g I've come across a syntax issue with 11g when it comes to the handling of parameters in BI Server Data Sets.
Under 10g, the documentation stated the following:
+"If your data source is the Oracle BI Server, use the following macro to handle the null:+
+{$ if ${sYear}='*'$}+
+{$elsif ${sYear}='2000' $}+
+where Year = :sYear+
+{$else $}+
+where Year = :sYear+
+{$endif$} "+
http://docs.oracle.com/cd/E10415_01/doc/bi.1013/e12187/T518230T518233.htm
Under 11g it does not seem to allow the use of macros defined in Data Sets and raises the following error when saving the query:
+"java.io.IOException: prepare query failed[nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <$>: Syntax error [nQSError: 26012] ."+
If macros are no longer supported, what is the best approach to handle null value parameters (caused by all choices / nothing being selected)
as they need to be defined in the Data Set WHERE CLAUSE?
I've tried a rather clunky CASE WHEN statement which handles string parameters fine, but dates are another thing as null values are returned as 'null' text which causes TYPE mismatch errors.
Hopefully there is an elegant way to handle this in 11g (the 10g macros were very straight forward when dealing with BI Server)
Many ThanksIf what you are saying is true then I would highly recommend open a ticket with Oracle Support.
They should provide and alternative for handling NULLS in 11g.
regards
Jorge
Maybe you are looking for
-
Photosmart premium all in one wont print from SD card
Photosmart premium reads my SD card, and says 398 photos found, then it displays photos for a second or two and then display reverts back to View and Print without giving me tha opportunity to select and print pictures. I performed a power reset
-
Rbo + history data index/no index table (cast ())
Hi guys, I have couple of questions and maybe you can help me with some advices. I have the misfortune to work with a 10g system that works on RBO. 1. and I have a lot of tables containing activity per id. for example: i have a table like: moved_hist
-
We are using Labview to create a exe file. However when a user reopens the exe all the user settings in the labview exe are lost. These settings are mostly switches either turned on or off. I would like to find a way so that once the switches are set
-
I´d like to change my subscription i have just mad...
from Germany unlimited to Europe unlimited. Only 1 Euro difference. Is this possible?
-
Java 1.5 missing? Bad install?
Can anyone explain why I get this? /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java -version java version "1.4.2_09" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) Java HotSpot(TM) Client VM (build 1.4.2