Skip to main content
Solved

Showing power Bi dashboard in a thinkwise preview component (with login)


Forum|alt.badge.img

Hi there,

We're fairly new to Thinkwise, and I wanted to share a dashboard that I created in Power BI inside our Thinkwise application. I created a link for the dashboard using the following menu in Power BI:
 



I then used that link as text in an expression field, with the URL as the control for that domain. Next, I added a preview of the dashboard into a new tab page inside our screen type, which displays as follows:
 

However, when I click the "sign in" button, a new tab page opens and signs me in, but nothing changes within the Thinkwise application. I'm unable to see my dashboard. Does anyone know how to fix this issue or if there's a workaround?

Thanks in advance!

Sincerely, Laurens

Best answer by Jasper

The "mixed content" error is most likely because you are using HTTP instead of HTTPS for the embedded URL. More info here: Mixed content - Web security | MDN (mozilla.org)

The Windows GUI doesn't have this problem because it uses a standalone WebView2 browser component instead of an iFrame. (And for the sake of completeness: this is also the reason that CORS errors do not apply in the Windows GUI.) 

 

 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

6 replies

Jasper
Superhero
  • 678 replies
  • April 12, 2023

Hi Laurens,

Great to see you're using PowerBI integration!

I just tested it myself and here the PowerBI report is loaded immediately after logging in. Can you check the console and network tab of the browser's developer tools for any errors that occur after logging in?


Forum|alt.badge.img
  • Author
  • Rookie
  • 3 replies
  • April 14, 2023

thanks for answering!

It does work in the windows application!!!
when i try to do it in universal using firefox it gives this warning:
Fout bij brontoewijzing: Error: request failed with status 404 Bron-URL: https://content.powerapps.com/resource/powerbiwfe/scripts/reportembed.externals.bundle.min.9a59479f6cfe0ea78ab6.js Brontoewijzings-URL: interact.min.js.map

it does open a new tab to login, and it closes the tab directly again, since i'm loged in on firefox already on that account i think.

 


Jasper
Superhero
  • 678 replies
  • April 14, 2023

Hi Laurens, 

This looks like an error on Microsoft's part. There have been reports of similar issues recently, for example here: PowerBI Embedded no longer running in Chrome 404 - Microsoft Power BI Community

I suggest you submit a ticket for this on the PowerBI community.

 


Forum|alt.badge.img
  • Author
  • Rookie
  • 3 replies
  • April 14, 2023

thanks i will do that ty!!

i have also tried another website(our internal application atm) and it also works in windows
but in universal we get error:
Laden van gemengde actieve inhoud ‘http://ourIPadress:ourPort/tapijtcentrum/MainHandler-en_US.html’ geblokkeerd
Can i ask something about it here? or do i open another question for it?


Jasper
Superhero
  • 678 replies
  • Answer
  • April 14, 2023

The "mixed content" error is most likely because you are using HTTP instead of HTTPS for the embedded URL. More info here: Mixed content - Web security | MDN (mozilla.org)

The Windows GUI doesn't have this problem because it uses a standalone WebView2 browser component instead of an iFrame. (And for the sake of completeness: this is also the reason that CORS errors do not apply in the Windows GUI.) 

 

 


Forum|alt.badge.img
  • Author
  • Rookie
  • 3 replies
  • April 14, 2023

thanks for all the help! verry helpfull :-D


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings