MS Excel as data source - Cannot create chart views
Hi,
I created a model with sql server and excel as the data sources. Most of the numerical data is coming from excel.
In Answers, I created a table view and it showed me all the data (Eg months, budget amount, plan amount, actuals amount ). But when I tried to create a chart view, it is giving me an error like it requires atleast one measure to create or draw a chart. I am taking Month on x -axis ad all the other columns like budget, plan , actual on y axis.
Not sure y its behaving like this
Did anyone encoured similar issue?
Please help...
Thanks
Radha
Events can be used in CE to trigger one report after another.
In CMC, define a new event, Schedule type, based on success. Then schedule your first report, setting Events to Trigger Upon Completion to include this new event. Sechedule your second report to run at the same time, except select the new event in the Events to Wait For section. The second report will wait until the first report completes successfully before starting to execute.
Another possible way is to use Object Packages. However, if such a package is run on a report server that allows multiple reports to run simultaneously, I think the multiple reports in the package will run at the same time. (This would have to be verified, as I am not positive.) But if the report server that the object package is scheduled to run under was single threaded, they would probably execute in order.
HTH,
Carl
Similar Messages
-
Data source cannot be created : MAPVIEWER-00011: Error creating a map data
Hi everyone,
i am getting an error meaasge while creating datasource
" Data source cannot be created : MAPVIEWER-00011: Error creating a map data source."
pls helpYou should assign only one value to jdbc_sid. Try with this
<map_data_source name="mvdemo"
jdbc_host="localhost"
jdbc_sid="orcl"
jdbc_port="1521"
jdbc_user="mvdemo"
jdbc_password="!mvdemo"
jdbc_mode="thin"
number_of_mappers="3"
allow_jdbc_theme_based_foi="false"
/>
Make sure that oracle sid is 'ORCL'
Sujnan -
HELP "Data source cannot be created : t2cGetCharSet"
HELP "Data source cannot be created : t2cGetCharSet" in OracleAS MapViewer Version: Ver10131_B061023
HELP "Data source cannot be created : [MapperConfig] no se puede agregar el origen de datos de mapa."
-
Hi,
i have created a crystal report that uses Excel as data source. Reason i used excel is for easy updating of data by non IT users. The report runs perfectly on my computer, but when i upload it to Infoview, there is error when i run the report from Infoview:
"The database logon information for this report is either incomplete or incorrect."
"Unable to retrieve Object.
The database logon information for this report is either incomplete or incorrect."
May i know what causes the error? There is no user id/password to access the excel file.
I have also tried saving the excel in the same server as the crystal report server, but i still face the same error.
Pls help!
ThanksYou would have created a connection in your local system to access the XLS data
You should be creating a similar connection in the server as well and then update the rpt file with the connection details in CMS
Thanks,
Ganesh -
Assigning a Data Source to a Chart via JavaScript
Dear all,
Is it possible to assign a Data Source to a Chart via coding ?
something like :
CHART_1.setDataSource ...
Many thanks
HansI ran into the same problem. You can't dynamically switch DataSources for a chart, however, you can re-assign a DataSource to a different query.
I have a chart assigned to DS_1:
On startup, I need to check a flag, and use a different query based on the value of the flag.
Since I can't dynamically switch the DataSource for the chart, I simply switch the query that feeds the DataSource like this:
I hope this helps. -
Not able to add an excel file as data source to create new values in the mapped domain
Hi
I am trying to use some sample data from an Excel file to improve the quality of a Knowledge Base I have created in the Data Quality Client. I followed the following steps:
Knowledge Discovery
Data Source: Excel File
Browsed to the Excel File on my local drive.
I'm getting the following error: Failed reading Excel File
I have checked the security settings, and provided full control to the user. I'm not sure as to what is the issue here. I
am totally new in this field and with my little knowledge trying to build a Knowledge Base. But the hurdle stopped me.
Thanks in AdvanceHi
You can add a Excel file as the data source for a universe, below are the steps.
Ensure that the following steps are done before inserting a table from Excel sheet into a universe.
1. Go to Excel and highlight all the cells that you want in the same table.
2. Go to the Name box from Insert->Name->Define and give a name (in Designer, you see this name as a table of all the values you have selected).
3. Go to Designer and pop up the table browser. You have to drag and drop the name you gave.
and check the SP of ur BO.
you can use .xls file as datasource but you cannot use .xlsx(windows 2007) .
Regards,
Rajesh -
Hi,
Me and a collegue is administrering our new enterprise BI portal in SharePoint 2013 (On Premise) and have a problem with using a specific Excel file including general ledger data as data source through a BISM file.
This particular BISM file can't be saved without getting the error message "There were errors found while validating the page: Cannot connect to the server or database."
BISM files against other Excel sheets and sources (for example SSAS tabular databases) works well.
Can anyone help us pinpointing whats wrong here, this is a really important stakeholder in our organization requesting this reporting?
Cheers!Hi E.SWARD ,
My self created a Power pivot excel then i want to use this excel to create BI file . Still i am getting the same error . Pls help me to resolve this issue
Cannot connect to the server or database.
I am getting the similar error , if i use Tabular analysis server instance .
Subhash -
Sharepoint 2013 Excel External Data Source Refresh Issue
I have been facing this issue for quite some time now.. i have created an Excel sheet in Excel-13 and have imported data from an external data source [SQL server 2012].
Everything is working fine, with the excel sheet on the desktop. Data refreshes, every-time i open the excel file and also at regular intervals that i have configured in the data source properties.
The problem begins when i save that excel sheet on my sharepoint server. the issues that i am facing are :
1. Changes made into the original data source, are not reflected immediately inside the excel sheet inside the browser. after 5-10 minutes, it reflects the changes..
2. The data doesn't refreshes automatically. After i update my data inside the sql server table, i have to manually trigger the refresh of the data connection when viewing the excel sheet inside the browser, even though i have marked "Refresh when opening
the file", and refresh every 1 minute inside the excel sheet. Any solutions ??
I have been troubled a lot by this issue, and seek for some quick solution.. Any help here ??I found the solution finally, my self ..
Issue - 1 : It's going to take atleat 5-minutes to refresh the data connection, that is generally not a big time span.
Issue - 2 :
--> Set Your connection to refresh everytime the file is opened. go to internet explorer -> file -> internet options -> general -> Browsing History -> Settings -> Check for newer versions of stored pages... Check 'Every time I visit the
webpage'.
Now everytime i update your original data source, wait for 5-10 minutes and refresh my web page containing the excel sheet.. The Contents of the excel sheet are updated as desired.. -
2 data sources in same chart in Visual Composer
Hoping you can answer a question for me.
Do you know if there is a way in Visual Composer to combine the output of 2 data sources into the same chart or table?
Here is an example of what I am after.
Inside BW, we currently have sales history for the company (i.e. monthly sales numbers). We can use a BW query as data source for this data.
Now we have found some interesting web services that provide 'market' type data,( i.e. some economic indicator) that we'd like to corrolate to these sales. We'd like to also chart the monthly value of this external indicator on same chart. I can use an external web service as a data source for this data. Howveer, VC seems to only allow me to send the output of this service to a separate chart/table. This is not ideal. I'd rather be able to incorprate in same chart.
If this is not possble, can Web Application designer consume web services? If so, I'd be fine with doing whole application with this tool.Hi Brad,
Technically it is possible to combine to data souces using COMBINE, UNION operators. So the resulting table contains columns of two data souces.
You can use this resluting table to create a chart.
I have not checked this uisng web services. But it should be possible.
Thanks,
Venkata -
Importing from Excel as data source
Hi,
I developed rpd using Excel as a data source,rpd is consistent & i'm able to view the datas correctly in rpd.
But in Presentation Services it was throwing me an error when im combining columns from two different tables.
SELECT TransLog.Device_ATM_POS saw_0, RespCodes.R_C_NAME saw_1 FROM JPMC ORDER BY saw_0, saw_1
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: -3079 message: [Microsoft][ODBC Excel Driver] Type mismatch in expression.. [nQSError: 16002] Cannot obtain number of columns for the query result. (HY000)
Also my Date Format while viewing data is (e.x: 28-OCT-08); In presentation services,the error is,
SELECT TransLog.TRL_DATE_LOCAL_TXN saw_0 FROM JPMC ORDER BY saw_0
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46046] Datetime value 01-OCT-09 does not match the specified format. (HY000)
Please guide me to solve this issue.
Thanks in advance,
PrincyYour first problem comes from the ODBC driver.
The driver see the data in the columns of your join has two different data type. Check here:
http://support.microsoft.com/kb/141284
For the second error, your date string must follow the format in the nqsconfig.ini.
DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
TIME_DISPLAY_FORMAT = "hh:mi:ss" ;I assume that with ODBC you get a DATETIME by default.
Then the data (the content and not the excel format) that you must
have in your excel sheet is "yyyy/mm/dd hh:mi:ss".
You can try to change it with a DATE data type in the physical layer of OBIEE and to have a string value of this format "yyyy/mm/dd".
Success
Nico -
Using Excel & ODBC data source to get data
I've been using MS Excel to extract MS SQL Server data from our ERP system for years but we are now moving to Oracle 12i. What are my options in the Oracle world? Can it be configured much the same way; that is by configuring an ODBC data source and connecting directly to the database???
Thanks in advance.user11307988 wrote:
I've been using MS Excel to extract MS SQL Server data from our ERP system for years but we are now moving to Oracle 12i. What are my options in the Oracle world? Can it be configured much the same way; that is by configuring an ODBC data source and connecting directly to the database???
Thanks in advance.Adding to sb92075's brief but accurate statement, from one of my recent presentations (note - no need for an ODBC connection):
'Need to add a reference to Microsoft ActiveX Data Objects 2.8 Library before starting
'*** This section might be in the top portion of the user form, worksheet code, or module:
'Declare a connection object in the general section to hold the connection to the database
Dim dbVMFG As ADODB.Connection
'Declare a set of variables to hold the username and password for the database
Dim strUserName As String
Dim strPassword As String
Dim strDatabase As String
Dim i as Integer
Dim intResult As Integer
Dim strSQL as String
Dim lngRow as Long
On Error Resume Next
strDatabase = "MyDB"
strUserName = "MyUser"
strPassword = "MyPassword"
'Connect to the database
'Oracle connection string
Set dbVMFG = New ADODB.Connection
dbVMFG.ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=" & strDatabase & ";User ID=" & strUserName & ";Password=" & strPassword & ";ChunkSize=1000;FetchSize=100;"
dbVMFG.ConnectionTimeout = 40
dbVMFG.CursorLocation = adUseClient
dbVMFG.Open
If (dbVMFG.State <> 1) Or (Err <> 0) Then
intResult = MsgBox("Could not connect to the database. Check your user name and password." & vbCrLf & Error(Err), 16, "Excel Demo")
Else
strSQL = "SELECT" & VBCrLf
strSQL = strSQL & " ID AS RESOURCE_ID," & VBCrLf
strSQL = strSQL & " DESCRIPTION" & VBCrLf
strSQL = strSQL & "FROM" & VBCrLf
strSQL = strSQL & " MY_TABLE" & VBCrLf
strSQL = strSQL & "WHERE" & VBCrLf
strSQL = strSQL & " DESCRIPTION LIKE '%10%'" & VBCrLf
strSQL = strSQL & "ORDER BY" & VBCrLf
strSQL = strSQL & " ID"
'Add a new worksheet to the new workbook, add after the last sheet
ActiveWorkbook.Sheets.Add
ActiveWorkbook.ActiveSheet.Name = "JustATest"
snpData.Open strSQL, dbVMFG
If snpData.State = 1 Then
'Slow Method------------------------------------
lngRow = 0
'Header Row
For i = 0 To snpData.Fields.Count – 1
lngRow = lngRow + 1
ActiveSheet.Cells(lngRow, i + 1).Value = snpData.Fields(i).Name
ActiveSheet.Cells(lngRow, i + 1).Font.Bold = True
Next i
'Detail Rows
Do While Not snpData.EOF
lngRow = lngRow + 1
For i = 0 To snpData.Fields.Count - 1
ActiveSheet.Cells(lngRow, i + 1).Value = snpData.Fields(i)
Next i
snpData.MoveNext
Loop
'End Slow Method------------------------------------
'Fast Method----------------------------------------
'Do not use this and the slow method!
For i = 0 To snpData.Fields.Count - 1
ActiveSheet.Cells(1, i + 1).Value = snpData.Fields(i).Name
Next i
ActiveSheet.Range(ActiveSheet.Cells(1, 1), ActiveSheet.Cells(1, snpData.Fields.Count)).Font.Bold = True
ActiveSheet.Range("A2").CopyFromRecordset snpData
'Auto-fit up to 26 columns
ActiveSheet.Columns("A:" & Chr(64 + snpData.Fields.Count)).AutoFit
'End Fast Method----------------------------------------
snpData.Close
End If
End IfA couple of notes:
1. Do not repeatedly connect to the database, execute a SQL statement, and disconnect from the database - connect once and stay connected.
2. Use bind variables where possible in SQL statements for constants (literals) which might change from one execution to the next - let me know if you need s code example showing bind variable usage in Excel.
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
How to identify whether any data source is created for a table?
hi all,
How to identify whether any extractions is been carried out for a particular table, view or function module(generic extraction)? from r/3.
bcos i need to create an extraction for a table, view and function module. But iam not sure whether any extractions is already been created for those tables, view, function modules??
thanxs
harithaHi,
By passing the following values as selection to table ROOSOURCE we can find whether any data source has been created or not .
EXMETHOD = V
EXTRACTOR = Table name
hope it helps..
regards,
raju -
Hi All,
I am reading notepads files and inserting data in sql tables from the notepad-
while performing sql bulk copy on this line it throws exception - "bulkcopy.WriteToServer(dt); -"data type related(mentioned in subject )".
Please go through my logic and tell me what to change to avoid this error -
public void Main()
Dts.TaskResult = (int)ScriptResults.Success;
string[] filePaths = Directory.GetFiles(@"C:\Users\jainruc\Desktop\Sudhanshu\master_db\Archive\test\content_insert\");
for (int k = 0; k < filePaths.Length; k++)
string[] lines = System.IO.File.ReadAllLines(filePaths[k]);
//table name needs to extract after = sign
string[] pathArr = filePaths[0].Split('\\');
string tablename = pathArr[9].Split('.')[0];
DataTable dt = new DataTable(tablename);
|
string[] arrColumns = lines[1].Split(new char[] { '|' });
foreach (string col in arrColumns)
dt.Columns.Add(col);
for (int i = 2; i < lines.Length; i++)
string[] columnsvals = lines[i].Split(new char[] { '|' });
DataRow dr = dt.NewRow();
for (int j = 0; j < columnsvals.Length; j++)
//Console.Write(columnsvals[j]);
if (string.IsNullOrEmpty(columnsvals[j]))
dr[j] = DBNull.Value;
else
dr[j] = columnsvals[j];
dt.Rows.Add(dr);
SqlConnection conn = new SqlConnection();
conn.ConnectionString = "Data Source=UI3DATS009X;" + "Initial Catalog=BHI_CSP_DB;" + "User Id=sa;" + "Password=3pp$erv1ce$4";
conn.Open();
SqlBulkCopy bulkcopy = new SqlBulkCopy(conn);
bulkcopy.DestinationTableName = dt.TableName;
bulkcopy.WriteToServer(dt);
conn.Close();
Issue 1:-
I am reading notepad: getting all column and values in my data table now while inserting for date and time or integer field i need to do explicit conversion how to write for specific column before bulkcopy.WriteToServer(dt);
Issue 2:- Notepad does not contains all columns nor in specific sequence in that case i can add few column ehich i am doing now but the issue is now data table will add my columns + notepad columns and while inserting how to assign in perticular colums?
sudhanshu sharma Do good and cast it into river :)Hi,
I think you'll have to do an explicit column mapping if they are not in exact sequence in both source and destination.
Have a look at this link:
https://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlbulkcopycolumnmapping(v=vs.110).aspx
Good Luck!
Kaur.
Please mark as answer if this resolves your issue. -
Cannot create Power View reports with HelloWorldPicnicPowerViewRTM.xlsx
I have uploaded HelloWorldPicnicPowerViewRTM.xlsx to Power Pivot Gallery on SharePoint 2013 and SQL Server 2012.
I have clicked Create Power View Reports, but there is error with connection.
I'm trying to follow instructions on
http://technet.microsoft.com/en-us/library/hh759325.aspx
<detail><ErrorCode xmlns="rsCannotRetrieveModel</ErrorCode><HttpStatus">http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus
xmlns="400</HttpStatus><Message">http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="An">http://www.microsoft.com/sql/reportingservices">An
error occurred while loading the model for the item or data source 'http://servername/sites/bi/powerview/PowerPivotGallery/HelloWorldPicnicPowerViewRTM.xlsx'. Verify that the connection information is correct and that you have permissions to access the data
source.</Message><HelpLink xmlns="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0</HelpLink><ProductName">http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0</HelpLink><ProductName
xmlns="Microsoft">http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="11.0.3128.0</ProductVersion><ProductLocaleId">http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
xmlns="127</ProductLocaleId><OperatingSystem">http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="OsIndependent</OperatingSystem><CountryLocaleId">http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId
xmlns="1033</CountryLocaleId><MoreInformation">http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="<Source>ReportingServicesLibrary</Source><Message">http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message
msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0"
xmlns:msrs="An">http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'http://servername/sites/bi/powerview/PowerPivotGallery/HelloWorldPicnicPowerViewRTM.xlsx'.
Verify that the connection information is correct and that you have permissions to access the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection"
msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsErrorOpeningConnection&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0"
xmlns:msrs="Cannot">http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'TemporaryDataSource'.</Message><MoreInformation><Source>Microsoft.AnalysisServices.SPClient</Source><Message>We
cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source></Source><Message>We cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source>Microsoft.Office.Excel.Server.WebServices</Source><Message>We
cannot locate a server to load the workbook Data Model.</Message></MoreInformation></MoreInformation></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices"
/></detail>
Kenny_IHi Kenny_I,
Based on the error message, the issue may be caused by the incorrect configuration of Claims to Windows Token Service (C2WTS). The C2WTS is required because the communication between the web front-end (WFE) and the Reporting Services shared service will
always be Claims authentication.
The domain account used by the Claims to Windows Token Service needs to be granted the following rights through the Local Security Policy:
Act as part of the operating system
Impersonate a client after authentication
Log on as a service
We can find these settings under Administrative Tools > Local Security Policy > Local Policies > User Rights Assignment. And we should add the service account to the local Administrators Groups ahead.
For more information, please see the following links:
http://www.codeovereasy.com/2014/01/powerview-report-fails-no-credentials-are-available-in-the-security-package/
http://msdn.microsoft.com/en-us/library/hh231678.aspx
Hope this helps.
Thanks,
Katherine xiong
If you have any feedback on our support, please click
here.
Katherine Xiong
TechNet Community Support -
Using a data source configured in Business View Manager?
Post Author: Rob
CA Forum: Crystal Reports
Hello,We're using Crystal Enterprise 10 service pack 6 on Server 2003 and I'm having a bit of a problem (surprise)! I've configured a data source in Business View Manager with the intention of the users not having to enter a password for the data source in a report. However, the data source has been stored in the repository but is not visible anywhere within Crystal Reports or the Enterprise web site at all. Any pointers as to the usage of said data source would be gratefully received!Thanks in advance,RobPost Author: yangster
CA Forum: Crystal Reports
You created a datasource connection in the BV Manger and then what?Did you make the corresponding Data Foundation, Business Element, and Business View?You can only report off the business view not a datasource.
Maybe you are looking for
-
Hi all, when I connect my MacBook Air to my TV using a mini dvi to hdmi connection I have to use external speakers using the headphone connection! when I try alt+click volume icon in menu bar I get no option to select a different output device? is so
-
Importing AVIs into Adobe Premiere Pro CS3 !!!
Heres what Im trying to do: We have been working on a PC Leitch Velocity Q NLE system for the past couple years and just got 2 new Matrox Axio LE NLEs with Adobe Premiere Pro CS3. We are trying to get all our old projects from the Velocity system ont
-
so this may be a dumb question...but i just bought qtpro today, i stuck in a dvd to see how it plays and i couldnt get qt to run it..i checked the helps it said to drag the file, i dragged the dvd icon, then dragged the video_ts file into it..can any
-
How reduce Sbo-common log is over 40GB??
Hi all I have a big problem that what I think my SBO-COMMON_log.LDF is very big and the server tell me everyday that I don't have enough free space on HD. I'd tried to clean and shrink the SBO-COMMON_log.LDF but I can't. Please HELP!!! Thanks all. Pa
-
I cannot use my pci5112 card with LV ver. 6.0
I'am trying to use my pci5112 card with LV 6.0 using the DAQ solutions. I get a message saying that I have not configured any DAQ devices. When I launch MAX I see the card there and the test panels are ok. I have the niscope1.6 driver installed. Any