Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Embeded Report not centering in app

Hello,   I have embeded PowerBI Premuim into my current production application.  While it mostly works great, sometimes when I go to the section of my application that shows the reports, the report...
  • Anonymous's avatar
    Anonymous
    8 years ago

    So I figured out why this was happening.  In my creation of the powerBI object, I was initiallizing the fileters property to an empty array object.  I was doing this because I would then use the onLoad event to get the current filters, and add to them the fiters selected in my applitcation.  

     

    I guess by initializing the filters property to an empty array, it would sometimes screw with the layout.  Once I took out that property all together, it never happened again.  

     

    If anyone else is expeciencing something like this, look into wether you are initializing all properties correctly or not.