PowerBI visualization types Matrix and Card not populating in an Embedded Analytics application - powerbi

For some reason the Matrix visualization type will not populate in our Embedded Analytics project. The matrices do populate on the Server but do not flow through to our website app.
Even more strange, when a user clicks a filter then the matrix visual is fixed.
Anyone have this issue and know a solution? Many thanks!
I tried applying different filter settings prior to refreshing the Server but that didn't work.

Related

Real time data report in powerbi service

We have a react app where i want to embed a powerbi service report.
That report (kept in powerbi service) data will update the user interact with our react app's database.
I know there is a way-
if we connect that report with an SQL database source, and everytime that database source is refreshed, we will hit a powerbi provided 'refresh report api' and the updated data will be reflected in the embedded report..
But I want to know if there is any other more elegant way to achieve the same?
Alternative way-
also if there is a way to create a new report inside powerbi service just by hitting a powerbi endpoint with given json, and then embed that newly created report inside our application. that will be better.
as far as i have seen there docs they have apis to clone, delete, update a report but not to create one?
in case you know please let me know.
Thanks in advance.
my another related question is here for more reference - Create a report in powerbi service through APIs in React
also this community discuss - https://community.powerbi.com/t5/Service/Create-a-report-in-powerbi-service-through-APIs-in-React/m-p/3055794
If you use a DirectQuery model the report will generate queries to your database when the user interacts with a report. There will be no "refresh".

Webservice to open external program when clicking link in Power BI

as Microsoft Power BI only allows to add hyperlinks of the following types
mailto
News
Telnet
FTP
File
I was thinking, if it could be possible to write a small webservice (ideally under IIS), which redirects an URL to let open a different hyperlink type.
The thing is, that I made a Power BI report, which reads from a Microsoft SQL server instance, which is running behind a propriertary Windows native CRM software.
What I want to achieve is to get back to the software, as soon as e.g. a customer number in the Power BI dashboard is clicked (made clickable using the conditional formatting).
It is already possible to open the dataset using an URL by entering something like:
<applicationname>:OpenAddress?Number=12345 in my Webbrowser.
So as Power BI does not let me add this syntax directly, I thought it could be possible to have a link like http://localhost:8080/OpenAddress?Number=12345 which redirects to the above individual hyperlink type.
Thanks in advance for any ideas.
Regards
Lars
After a while of thinking I solved this issue using some simple lines of Javascript:
let params = new URLSearchParams(location.search);
parameter = params.get('number');
finalurl = "<applicationname>:OpenAddress?number=" + parameter;
window.location.replace(finalurl);

Create a Mobile Responsive Version of a PowerBI report that is Published to the Web

I've recently published a specific PowerBI report and despite creating a 'Phone' View on PowerBI Desktop this didn't show up in the final embed code.
I've looked into PowerBI Embedded Playground and managed to generate the relevant access tokens and even try it out, but still couldn't figure out how to modify the code in such a way to generate a mobile view.
The questions and answers below somehow didn't give me the insight I needed, still somehow need some additional work:
Mobile view is not being shown for embedded powerbi report
Create Report in Embed View via PowerBI API
Power BI RS web embedding in mobile web browser
What do I need to do to get started? Which documentation do I need to look into exactly? I need to embed this report in a Sharepoint 2010 Page and I need it to be mobile responsive on page load and not via a seperate link.
This isn't related to the access token in any way. It is generated before configuring the embedding process. To embed the report in phone view, you must specify MobilePortrait layout type in the embed configuration, i.e. something like this:
var config = {
.....
settings: {
filterPaneEnabled: true,
navContentPaneEnabled: true,
layoutType: models.LayoutType.MobilePortrait <-- THIS ONE
}
};
If you omit layoutType, it will be shown in the landscape view (i.e. like in the desktop). For more information about the configuration see Embed Configuration Details, and for embedding in general you should start from Embedding Basics.

Power BI Embedded Report Picker

I have an embedded site for my users to view a report. I have one master login for Power BI that all customers are routed through.
Authentication and the request are done through a .NET backend using PowerBI.Api.V2. Everything works well when I hardcode a single reportId and embed the fullscreen iframe.
My question is for customers that have multiple reports; Is there a built in report-picker-report that I can embed where the report selection is already handled for me? Or should I work on building an interface after retrieving the list of reports my users can pick from?
No, there are no built-in pickers. Power BI provides an API interface and you must implement these for yourself. Of course, you can build these pickers and make them available for us :)
To get list of workspaces you need to call Get Groups. This will give you a list of user's workspaces. You can show their name property values to the user, but you will need their id (the guid). When you know the id of a workspace, you can list the reports in it by calling Get Reports In Group. The same way you can call Get Dashboards In Group and Get Tiles In Group.

Infragistics WebDataGrid Reload Refresh

I've recently been using this product. The support on their site is lacking. I've implemented a custom search/filtering feature on the server side. The feature limits the data to only the matching rows. My issue is how to get the grid to reload or refresh after this operation.
I have tried removing the invalid rows from the grid, creating a new data source for the grid, even creating a new grid all together. The client side does not show the changes until I click a page forward button. At that point the grid refreshes and shows my new data.
I've found web references to calling rows.Clear(), grid.ClearDataSource().... no joy. I've looked at client side JS as well.
Any help would be greatly appreciated.
Thanks
ST
You could use the WebDataGrid filtering on the client. There is an example of how to do this on the Infragistics here: http://blogs.infragistics.com/forums/p/24061/88728.aspx#88728