Quantcast
Channel: All Power Query posts
Viewing all 123361 articles
Browse latest View live

Re: executing stored procedure

$
0
0

I'm trying to execute a simple stored procedure and getting error: "the EXECUTE permission was denied on object 'stored proc name', database 'database name', schema 'dbo'."

 

Stored proc is just this:

USE [DB name]
GO

CREATE PROCEDURE [dbo].P_x AS

SELECT 'x' as name
go

 

I am able to use views from this same db no problem and have created a number of reports, dashboards, etc. however for the life of me can't figure out how to use a stored proc instead of a view..

 

To connect inside PowerBI I use the following syntax:

SELECT *
FROM OPENQUERY ([server_x],
'EXEC db_x.dbo.P_x');


Connect Power BI to Microsoft Dynamics CRM 2011

$
0
0

HI, any tips and tricks on how I get power BI connected to our CR;M database? I done know where to start? 

Re: executing stored procedure

$
0
0

 What is the reasoning for using the OPENQUERY?

You are all ready setting the connection to the database, if you just use "EXECUTE dbo.P_x" it should run without any issues.

Re: executing stored procedure

$
0
0

I believe I need to do openquery as I'm using DirectQuery not Import option. From what I read openquery should work for either.. I did try just execute dbo.p_x and it worked to where I could see the resultset of my stored proc and even the sequel statement appeared fine and said there are no syntax errors, however strangely enough, when I pressed close & apply it says there's a syntax error....so had to go back to query window and delete the query.. I think it's because of the DirectQuery.. I mean otherwise what would be the mechanism of re-running the stored proc for updated resultset? (in other project where I'm using Import I am able to execute the stored proc per the method you mention and it works fine...I just really want to stick to DirectQuery for this project)

Re: accesing "Site Report" data in SharePoint Online

$
0
0

Hi ,

 

Based on my test, there is no OOTB feature available in Power BI Desktop for us to get data from SharePoint Online Site content page currently.

 

In my opinion, those reports like Site visits and Trending content are analyzed and generated by SharePoint Online itself. I would suggest you consult the SharePoint Online experts where are those reports data stored in this forum: Microsoft Online: SharePoint Online. If data stored in SharePoint Online list, then you can get data then design report by yourself in desktop. Otherwise, I'm afraid we are not able to do it in Power BI.

 

If you have any question, please feel free to ask.

 

Best Regards,
Qiuyun Yu

Re: Manage Gateways - Adding Odata Connection

$
0
0

Hi ,

When connecting to OData via organizational account in Power BI Desktop, we are not able to schedule refresh for the OData dataset as On-premises Gateway only provides these authentication options: Anonymous, Basic and Windows. Regarding to this issue, you can vote it in this idea: https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/13382847-organizational-authentication-for-enterprise-gatew .

In your scenario, to work around the refresh issue, please use Personal gateway instead.


Thanks,
Lydia Zhang

Re: Export from Excel 2016 missing upload and export options, only dataset created

$
0
0

Hi ,

I test the scenario as yours and everything works as expected. Firstly, I store an excel file to OneDrive for business using “Upload” option in OneDrive, then open the excel file from OneDrive for business via “open in Excel” option and click Publish, I get the Upload and Export options as shown in the following screenshot.
1.PNG

 

In your scenario, please make sure that the account you use to sign in to Office, OneDrive for Business, and Power BI is the same account, also check other requirements following the instructions in this article. Once the upload option is available in your Excel, you are able to see PivotTables and Charts in Power BI after you use Upload option to get workbook into Power BI.

In addition, is your Excel file is saved as .xlsx file? How about using the "Get Data > File > OneDrive for Business >Connect, Manage and View Excel in Power BI "option to upload your workbook?

Thanks,
Lydia Zhang

Re: Changing from Personal to Data Gateway failing

$
0
0

Hi ,

 

Based on my test, both personal gateway and on-premise data gateway are installed on the same server previously, and the dataset is set to use the personal gateway. After I uninstall the personal gateway, back to the dataset settings, I'm also able to select the data gateway and click Apply button.

 

In your scenario, I would suggest you check if you have created a data source under data gateway which use the same connection string as one in Power BI Desktop. You can refer to dparkinson's last reply in this similar thread: Enterprise Gateway - Something Went Wrong. Failed to use the selected gateway.

 

In addition, does the dataset contains one or more data sources? Data gateway is not supported in some scenarios like one dataset contains data sources connect to SharePoint Online and SQL Server.

 

If you have any question, please feel free to ask.

 

Best Regards,
Qiuyun Yu


Re: Connect Power BI to Microsoft Dynamics CRM 2011

$
0
0

 PowerBI has in-built content pack for Dynamics CRM check it out here. If you want to connect to database instead you will have to SQL Server connector via power bi desktop. If you are new to the  power bi world and not sure how power bi desktop works I would suggest you start here.

Re: 3 Crucial Tips for optimizing Google Analytics with Microsoft Power BI

$
0
0

Hi ,

 

Good job. Thanks for your sharing. Smiley Happy

 

Best Regards,
Qiuyun Yu

Re: Schedule refresh for OData Feed - supported or not?

$
0
0

Hi @achinm45 as I recall the problem was that I was not using authenticated SSL certificate.

Re: Does the Google Analytics connector bring in full data or sampled data?

Power BI refresh hijacks credentials from Excel Online

$
0
0

I have an Excel file that loads data from Azure SQL DB (through Power Query and Power Pivot). The problem is that when I configre a resfresh with Power BI Service all other users (except my self) is no longer able to refresh the file in Excel Online.

I have done the following:
   1. Created a Power BI Group/Workspace
   2. Uploaded the Excel fil to the groups OneDrive (or Sharepoint folder?)
   3. Given all members admin permissions in the Power BI workspace and explicit Full permission on the Excel file in the    Sharepoint folder.


At this point the manuel refresh in Excel Online works!

 

   4. Now I configure automated refresh i Power BI and enters the basic credentials to Azure SQL DB on the data source.
   5. The automated refresh works but now the manuel refresh in Excel Online stops working for everyone except my self.

 

This is the error and i comes for every table.

 

My theory is that Power BI somehow hijacks the connection or at least the credentials used by the connection.

error.png

Error Connecting To Tally (Accounting Software) using ODBC

$
0
0

Hi,

 

I work for an Indian non-profit Dasra I'm trying to connect PowerBI Desktop to Tally ERP 9 (a popular accounting software used in India) using ODBC, to help better analyze our financial data.

 

I'm getting the below error.

 

Unexpected error: Unable to cast object of type 'System.DBNull' to type 'System.String'.

My OS (Windows 10), Excel, and Tally ERP are all 64-bit.

 

This most likely seems to be an ODBC issue (and not PowerBI), so apologies for posting this here.

But I've tried finding a solution all over the internet and could not find one.

 

Has anyone experienced something similar?

 

Do let me know if you require more details on the error.

 

Swapneel

Re: Error Connecting To Tally (Accounting Software) using ODBC

$
0
0

Hi Swapneel,

 

Looks like the ODBC driver is giving us a null value where we don't expect it.

  1. Can you make sure you're using the latest version?
  2. If you're using the latest version, can you please send us a frown with traces? (Enable tracing from Options > Diagnostics > Enable Tracing (Verbose) (also you can open the Traces folder from here), then reproduce the failure, then close the PBI Desktop. You can get the traces from Traces folder.)

 

Thanks


How to switch an enterprise gateway?

$
0
0

I have an enterprise gateway installed on my machine that i use for my published reports to connect to on prem data.

I recently installed the enterprise gateway to a central server. Now I want my reports to use the new gateway. What is the best way to switch the dateways wothout impacting reports.

Re: Manage Gateways - Adding Odata Connection

$
0
0

Hi  

Thank you for this.  I have attempted to use a personal gateway however that wasn't working either. 


I have no problem refreshing my Odata with the Desktop app.  When trying to schedule the refresh with PBI Online I am asked to updated my credintials.  This seems to work for the Excel data, but not the Odata query.  It seems that I require Organizational access as thats what I use for the OData with the Desktop App.  We are looking forward to that option as we are hoping to roll what I have created out accross WDG Design.

 

In the mean time...

Thank you for the link! I have voted it up!

Re: How to make a variable in connection string?

$
0
0

Hi ,

 

In addition to 's suggestion, you can also take a look at the sample of Scenario 1: Parameterising a Data Source in this article.

 

Best Regards,
Qiuyun Yu

Re: How to Embed Power bi reports in SharePoint.

$
0
0

  

1. Can you use these ? Is it possible to use these clients to authenticate power BI reports in SharePoint?

 

2. Is it any cost attached to use the Power BI API?

 

3. But one question though is, if it's possible to register free AAD account and you should use these.

Then you can go around the cost using Power BI Embedded!? Is there any difference?? If not, why should I use the embedded  version when I can user Power BI REST API that is free!?

 

4. As a developer, to use the API/Framework you have to have call these (dll and stuff). How do you integrate this with your developer enviroment??    I mean the physical library files?!

 

 

 


1. People would have to login with their ADD account to access the report via REST API, and they would see the report created by or shared with them.

2. No but license(s)

3. You can't go around the cost using PBI Embeded. Regarding why, see the limitation in 1.

4.Not clear about what you ask.

Re: Error Connecting To Tally (Accounting Software) using ODBC

$
0
0

Thanks so much .

 

I am using the latest versions of both PowerBI and Tally.

 

Have emailed you the traces folder.

 

Thanks again.

 

Swapneel

Viewing all 123361 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>