<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Power BI Embedded - responsive dashboard view in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-responsive-dashboard-view/m-p/3714383#M49673</link>
    <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A question,&lt;/P&gt;&lt;P&gt;If OneColumn is determined by small screen resolution, who determines the position of the graphics? Does it do it automatically or do you have to design something in advance?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 13:42:01 GMT</pubDate>
    <dc:creator>apenaranda</dc:creator>
    <dc:date>2024-02-21T13:42:01Z</dc:date>
    <item>
      <title>Power BI Embedded - responsive dashboard view</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-responsive-dashboard-view/m-p/273815#M8242</link>
      <description>&lt;P&gt;Guys, I am playing around with Power BI Embedded Dashboards, and one thing I have found that Dashboard actually has a switch to turn into mobile friednly view:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 548px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/63876iCD830E9353796511/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This happens if the size of the Iframe less than 320px!!!&lt;/P&gt;&lt;P&gt;Can anybody from MSFT help on how to make it responsive not only for devices with width less than 320px?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 05:44:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-responsive-dashboard-view/m-p/273815#M8242</guid>
      <dc:creator>nicksav</dc:creator>
      <dc:date>2017-10-10T05:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded - responsive dashboard view</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-responsive-dashboard-view/m-p/275652#M8267</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/13698"&gt;@nicksav&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Guys, I am playing around with Power BI Embedded Dashboards, and one thing I have found that Dashboard actually has a switch to turn into mobile friednly view:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 548px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/63876iCD830E9353796511/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This happens if the size of the Iframe less than 320px!!!&lt;/P&gt;
&lt;P&gt;Can anybody from MSFT help on how to make it responsive not only for devices with width less than 320px?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/13698"&gt;@nicksav&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;AFAIK, Embedded Power BI dashboards won't auto fit the resolution to have a mobile friendly layout. As a workaround, in Javascript code, you can &lt;A href="https://stackoverflow.com/questions/2242086/how-to-detect-the-screen-resolution-with-javascript" target="_self"&gt;detect the screen resolution&lt;/A&gt; and then determine whether embedding in "fitToWidth" or "oneColumn".&lt;/P&gt;
&lt;PRE&gt;    var config = {
        type: 'dashboard',
        tokenType: models.TokenType.Embed,
        accessToken: accessToken,
        embedUrl: embedUrl,
		//pageView: "fitToWidth",
		pageView: "oneColumn",
        id: embedDashboardId
    };&lt;/PRE&gt;
&lt;P&gt;OneColumn(left) VS fitToWidth(right).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/64074i5EFD039916D9EAD2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 07:07:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-responsive-dashboard-view/m-p/275652#M8267</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-10-11T07:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded - responsive dashboard view</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-responsive-dashboard-view/m-p/3714383#M49673</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/6971"&gt;@Eric_Zhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A question,&lt;/P&gt;&lt;P&gt;If OneColumn is determined by small screen resolution, who determines the position of the graphics? Does it do it automatically or do you have to design something in advance?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 13:42:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-responsive-dashboard-view/m-p/3714383#M49673</guid>
      <dc:creator>apenaranda</dc:creator>
      <dc:date>2024-02-21T13:42:01Z</dc:date>
    </item>
  </channel>
</rss>

