cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jcarville
Frequent Visitor

Border issue

Hi,

 

I am mainly a Power BI user but recently brought in a PowerApps app into a Power BI report and it works as expected (relief!). The issue for me is there is a needless grey border (as shown below at the top of my app). I can resize the app in Power BI to get rid of this, but would mean the app being much wider than I would like it to be.

 

Does anybody know if I can remove this?

 

Thanks.

2 ACCEPTED SOLUTIONS

Accepted Solutions

Hi @jcarville,

 

Could you please share another screenshot for the PowerApps Custom Visual in PowerApps App Edit mode?

For configure size in PowerApps, check:

Change screen size and orientation in PowerApps

And:

Size and location properties in PowerApps

 

Further, after publish the App, there should be some gap between the App screen and the visual border, currently there is no way that I am aware of to change that.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi @v-micsh-msft,

 

Thanks for your reply as your first link guided me to the solution.

 

In PowerApps, under App settings, there is an option to lock the aspect ratio. This was previously selected and hence why the grey border appeared in my Power BI report. Simply untick this option and re-publish the app.

 

Jake

 

 

View solution in original post

4 REPLIES 4
v-micsh-msft
Community Support
Community Support

Which way you used to " brought in a PowerApps app into a Power BI report ", Embeding, or through the custom Visual?

Embed PowerApps in Power BI dashboards or your website

 

Custom Visual:

Announcing availability of PowerApps custom visual for Power BI (preview)

 

If here you are using custom Visual, make sure you follow the following code sample:

"

To achieve this, we use the Add web content capability of Power BI dashboards and add the app as an iframe content. The iframe code I am using above is like following. Please refer to the end of this post where I talk about how to generate the src Uri for your app.

<iframe width="98%" height="98%" src="https://web.powerapps.com/webplayer/iframeapp?source=powerbi&screenColor=rgba(165,34,55,1)&appId=/pr...>

Note: Use the width & height to 98% options to avoid having scroll bars on your tile.

 

"

Basically you should be able to configure the iframe parameter to cofnigure how the App shows in Report.

 

For custom Visual, please modify the items within PowerApps.

 

Post back if you need any further help on this.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for the reply @v-micsh-msft

 

I brought the app into Power BI using the custom visual.

 

It is not possilbe for me to configure the iframe in Power BI, as you can only add iframe's in Power BI Dashboards, not Reports. I am using the app in a Report.

 

You mentioned "For custom Visual, please modify the items within PowerApps.". Where in PowerApps would I do this?

Hi @jcarville,

 

Could you please share another screenshot for the PowerApps Custom Visual in PowerApps App Edit mode?

For configure size in PowerApps, check:

Change screen size and orientation in PowerApps

And:

Size and location properties in PowerApps

 

Further, after publish the App, there should be some gap between the App screen and the visual border, currently there is no way that I am aware of to change that.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-micsh-msft,

 

Thanks for your reply as your first link guided me to the solution.

 

In PowerApps, under App settings, there is an option to lock the aspect ratio. This was previously selected and hence why the grey border appeared in my Power BI report. Simply untick this option and re-publish the app.

 

Jake

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,710)