PowerBI-Developer-Samples | A collection of Power BI samples for developer use
kandi X-RAY | PowerBI-Developer-Samples Summary
kandi X-RAY | PowerBI-Developer-Samples Summary
This repository contains Power BI Embedded solutions in 5 different frameworks to suit different scenarios as per requirements. In addition, it has samples for calling the Power BI REST APIs using PowerShell.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize event handlers
- Sets the embed report for the given token .
- Validates the configuration .
- Embing the embed into the Blueprint
- Populate the select list .
- Embeds the data for each report
- Create an embed token for the given data
- Embeds a tile .
- Create an embed token for the given dataset .
- Create an embed token for the given report .
PowerBI-Developer-Samples Key Features
PowerBI-Developer-Samples Examples and Code Snippets
Community Discussions
Trending Discussions on PowerBI-Developer-Samples
QUESTION
I developed a few months ago a NodeJS
API to get embed reports from Power BI (using a tenant). I consume this API from an Angular app. Now I want to get the report filtered, and I don't know if this is possible with my actual code.
I used the PowerBI rest API to get the embed report. Reading the docs of microsoft, I see lots of docs like this one, where says that I should create an object with the filters that I want. This is not a problem, but I don't know if this is compatible with mi actual Node API or I should develop a new solution.
My API follows the sample provided by Microsoft, and the code is:
...ANSWER
Answered 2021-Dec-30 at 09:00Finally, I came out with a solution. In mi Angular app, I use the library powerbi-client-angular
. That allows me to define some configuration in the embed report:
QUESTION
I am able to programmatically log in to the PowerBI Client, gather my Workspaces as well as get a specific Report from a specific Workspace. I need to programmatically render that report to a .pdf or .xlsx file. Allegedly this is possible with the ExportToFileInGroup
/ExportToFileInGroupAsync
methods. I even created a very simple report without any parameters. I can embed this using the sample app from here. So that at least tells me that I have what I need setup in the backend. But it fails when I try to run the ExportToFileInGroupAsync
method (errors below code.)
My Code is:
...ANSWER
Answered 2021-Jun-01 at 17:54Turns out the issue was on our side, more specifically, security/firewall settings. Here is the exact quote from our networking guru.
"After some more investigation we determined that our firewall was causing this issue when it was terminating the SSL connection. We were able to add a bypass for the URL and it is now working as expected."
QUESTION
I'm trying to retrieve the list of dashboards and reports from PowerBI via its api. In my previous post I have an issue with the connection with the apis. I fixed it.
I'm using the latest packages from Microsoft for PowerBI.
Now, I'm trying to get the list of dashboards or reports in a particular group with this code:
...ANSWER
Answered 2020-Sep-23 at 10:05The problem was in the permission of workspaces. I created a new one and now the code is working without any changes.
In the post I added the process I followed to arrive at the solution.
QUESTION
I have a working app based on the App Owns Data documentation & GitHub sample:
https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-customers
https://github.com/Microsoft/PowerBI-Developer-Samples
My issue is with attempting to incorporate filtering as per the following:
https://github.com/Microsoft/PowerBI-JavaScript/wiki/Filters#constructing-filters
I've tried creating a filter in js in the style of:
...ANSWER
Answered 2020-Jan-21 at 03:26It seems we were confused about RLS vs JS filtering. We wanted the former, based on this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install PowerBI-Developer-Samples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page