Hi everyone,
I would like to understand beacause is not possible use Direct Query and Import in the same time on Power BI?
Thanks,
Hi everyone,
I would like to understand beacause is not possible use Direct Query and Import in the same time on Power BI?
Thanks,
Hi
Power BI used to be a 'one or the other' approach with DirectQuery vs. Import, but this has changed recently. In a lot of cases it is possible to create composite models that can mix these data sources. Here's the MS documentation on it. The doc also contains an example.
There are some exceptions where you can't use composite models, though. If you're connecting to any of the following sources, they can be DirectQuery only (detailed in the Limitations and considerations section):
Here's some further reading/viewing into composite models that may help:
I hope this helps you out.
Daniel
If my post helps, then please consider accepting as a solution to help other forum members find the answer more quickly 🙂
Hello:
I wanted to display powerBI reports to my public facing website. The users of the website will not have powerBI account. I plan to use powerBI pro account to get the Authentication Token and then embed the report in public facing website.
So far I have done following stuff: \
1. I followed these step and register my app at powerBi. https://docs.microsoft.com/en-us/power-bi/developer/register-app
2. I received APP ID / Client ID.
3. Now I went to https://portal.azure.com/ , I see my app under Azure Active Directory=> App registrations.
4. I selected my app, and went to API permissions. Under the API permission, I see Azure Active Directory Graph already there. Also the permission selected for this is User.Read.
5. I clicked, Add a permission button and added Power Bi Service, with Reports.Read.All and Reports.ReadWrite.All permission.
6. Now I went back to Home and selected App registrations again, this will give me the list of all the registered APP including the one that I added in step # 1.
7. Now I selected the APP that I created. It takes me to the below page (see image). There are various Quickstart guide for different technologies. It provides working application.
8. I used JS. It gave me SPA (Single Page Application) (see image above)
9. This SPA works good with Microsoft Graph API and list the login user info (https://graph.microsoft.com/v1.0/me)
10. It is giving me an error when, I am trying to use different end point (https://analysis.windows.net/powerbi/api) with scope value": ["Report.ReadWrite.All"]
ServerError: AADSTS650053: The application 'Demo' asked for scope 'Report.ReadWrite.All' that doesn't exist on the resource '00000003-0000-0000-c000-000000000000'. Contact the app vendor.
How to add API permission for Power Bi Service and use into JS to call the APIEndPoint (https://analysis.windows.net/powerbi/api)
Any idea/help would be greatly appreciated.
Regards
I have a rest application with Power BI. I upload a dataset and generate a report.
After the report is uploaded I would like to show the user the report. They have already authenticated to use my REST code... and I have that bearer. Is there any way to show the report without prompting the user to authenticate again?
Hi,
Is it possible to read the filter settings in the custom Visual? So not only receiving filtered data, but actually to read it somehow?
The custom visual should react to the filter, but not only to the new data provided. It is needed to navigate in a map in a read-only report.
If I'm correct the filter API, does not provide read functinality. The api only sets filters.
Also the InteractivityFilterService does not do the job.
And the options.jsonFilters property in the update-function is always empty.
I saw in an example the following: Capabilites.json
But this does not provide anything.
I also tried the following (which is also always empty)
Maybe someone can provide an good example, because all examples from microsoft are outdated.
Thanks.
I am trying to develop a custom vis in Power BI through R script as suggested here:
So, I have developed my pbivis item, with a dataset composed of 5000 records.
I have tried it in R and it works great. In BI this works for the first time, but when I change any filters, nothing shows up in this newly developed pbivis item unless I go to another tab of my report and then come back to this tab which has this newly developed pbivis.
I have also noticed that if I maximize this item (pbivis), then the chart disappears (i.e. shows nothing).
So not sure how to solve this.
I have posted this in stackoverflow but still no response. I am not sure if I shall remove my question from stackoverflow or here. Thanks for the advice.
The docs specify the following Request Body schema for OAuth2 authentication:
Hi,
I am facing similar Issue, did you get solution for this.
Can i use just a pro account to embedde reports to my customers? or really need a power bi premium account? I'm using APP OWNS DATA scenario and at the beggining, i was able to see reports without log-in, but now, a few of my reports requires login.
You can use Pro account for embed your reports for APP Owns data. Premium capacity is needed only for PROD environment.
Just for your information, for app owns data you can implement that even with-out using the Pro account by using SPN Approach
I am still having problems with this issue. I have created reports from scratch, published them, and then insert them on my SharePoint page using the Embed to Sharepoint link. At first the options for page name, display, and filter/navigation options appear but then they go blank as soon as I click on them to change them. Can anyone help?
Hi
In terms of structure, the type property is a ValueTypeDescriptor, of which only the properties text thru none are included in the interface spec. This means that the underlyingType thru categoryString properties are presumably added by the developer visual (which the API implements). As such their implementation details aren't in the source code and it's going to be hard to figure out what those mean, or rely on them consistently.
You can see that there are some overlaps also, such as numeric and integer.
In my experience, if I have a dependency on the column type, I'll typically switch on them while iterating through and manage my logic that way (e.g. dates vs. numbers for axes) when building my view model.
If you are able, it might be worth providing some details of your particular use case, as we might be able to find a way to achieve what you are ultimately setting out to do.
Regards,
Daniel
Hi
You can add the API Permissions in the azure portal app registration page itself
We have scenario where we need to calculate number of nights by using two date columns.
Challenge is when we select the date range from slicers (of both the columns), if one of the columns condition don't returns true, it will skip that complete record
For example:
We need to calculate number of night for period From Date='02/Jan/2020' - To Date='09/Jan/2020'
By selecting these dates from both date slicers of "From Date" & "To Date", result would be:
It would be a great solution if we get Measure which works with one date slicer to select the date range and gives desire output.
Thanks
Ali
Hi
Assuming your users already having PowerBI Pro licenses in that case, you can use the PowerBI Embedded - User owns data
Sample Code for the reference: https://github.com/microsoft/PowerBI-Developer-Samples/tree/master/User%20Owns%20Data
Here you are using PBI JS to embed your pbi reports using the end users bearer token
Hi
If you want you can use my powershell script where i did the same Basic update credentials without having any issues
Seems to have been fixed now. Capacities are returned within 5 seconds or so.
Any update on this problem?
I am using Parameter for a Stored Procedure. I want to update this parameter dynamically.
How can I update Parameters using PowerBI-Javascript? Is there any other way than using a parameter?
We are working on exposing Power BI reports to external users, so I am setting up RLS on the reports using USERNAME(). When sharing with an external test email address, I discovered that Power BI tacks live.com# in front of the username, causing RLS not to work as expected. The same thing happened with one other test email address, but no prefix was added on a third test email address. The same thing happens with USERPRINCIPALNAME().
I have a workaround, but I still have a couple questions:
1. Is there a way to prevent the prefix from getting added on?
2. Are there any other prefixes that could appear that I need to be aware of?
Thanks in advance for the help!