Forum Discussion
Couldn't load the data for this visual
Please clarify, when mentioning Power BI Embedded, do you mean this?
If yes, then I think the "dashboard" refers to reports in your case? What does the specific visual render if you open the pbix file in Power BI Desktop? As to RLS, can you ensure that the token that used to redender the second reports is valid? Please check the RLS setting in Power BI Desktop and decode the jwt token at https://jwt.io and verify the username and roles.
Eric_Zhang, Thanks for your response. Yes with PowerBI Embedded I do mean the link you are referring to. So basically I uploaded the PowerBI reports I created in PowerBI desktop into a workspace collection in Azure. I add the token, reportid and report url into JS.
This is working good, because the report is uploaded in my App and I can see all the pages and visuals of the report, except for 1 graph. Data and report is automically updated once a day, so that is all good.
I checked the RLS settings in PowerBI Desktop with the settings in the token and they match. In powerBI Desktop I am using this DAX expressions: [Name]=USERNAME().
I don't think that the RLS settings are causing my problem because I assume that all the grahps in the report will give an error if the username and role in the token are not correxct.In my case all the visuals in the report are working exept for 1.
In the graph that gives me an error I am trying to render sentences (text).
- Eric_Zhang9 years agoMicrosoft Employee
Tairo wrote:
Eric_Zhang, Thanks for your response. Yes with PowerBI Embedded I do mean the link you are referring to. So basically I uploaded the PowerBI reports I created in PowerBI desktop into a workspace collection in Azure. I add the token, reportid and report url into JS.
This is working good, because the report is uploaded in my App and I can see all the pages and visuals of the report, except for 1 graph. Data and report is automically updated once a day, so that is all good.
I checked the RLS settings in PowerBI Desktop with the settings in the token and they match. In powerBI Desktop I am using this DAX expressions: [Name]=USERNAME().
I don't think that the RLS settings are causing my problem because I assume that all the grahps in the report will give an error if the username and role in the token are not correxct.In my case all the visuals in the report are working exept for 1.
In the graph that gives me an error I am trying to render sentences (text).
So, for other visuals, the RLS applied is the same with the specific visual? What if switch to import mode, would the visual be rendered properly?