<?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: Creating A Power BI App – missing fields in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Creating-A-Power-BI-App-missing-fields/m-p/2280483#M33858</link>
    <description>&lt;P&gt;Append a question mark to the column name selector when you manipulate it in Power Query.&amp;nbsp; Instead of&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Column a] + [Column b]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can write (assuming that column b is sometimes missing)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Column a] + [Column b]?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will yield null if the column is missing.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 01:18:33 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2022-01-13T01:18:33Z</dc:date>
    <item>
      <title>Creating A Power BI App – missing fields</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Creating-A-Power-BI-App-missing-fields/m-p/2278350#M33843</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi –&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are trying to create a Power BI Template App that will work for many users.&amp;nbsp; The sample data set we have has a number of custom fields so that the sample reports demonstrate many great visuals.&amp;nbsp; However, not all users of the App will have those fields.&amp;nbsp; We recognize that some visuals using the custom fields will be broken, but that should not be an issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In our testing of the App, when we connect to a new data source that does not have all fields, the refresh fails with error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;“&lt;STRONG&gt;Processing error&amp;nbsp;&lt;/STRONG&gt;The column 'XXXX' of the table wasn't found.”&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a way to configure a Template App so that it ignores missing fields?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 20:48:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Creating-A-Power-BI-App-missing-fields/m-p/2278350#M33843</guid>
      <dc:creator>Shreyas1902</dc:creator>
      <dc:date>2022-01-11T20:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating A Power BI App – missing fields</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Creating-A-Power-BI-App-missing-fields/m-p/2280483#M33858</link>
      <description>&lt;P&gt;Append a question mark to the column name selector when you manipulate it in Power Query.&amp;nbsp; Instead of&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Column a] + [Column b]&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can write (assuming that column b is sometimes missing)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[Column a] + [Column b]?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That will yield null if the column is missing.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 01:18:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Creating-A-Power-BI-App-missing-fields/m-p/2280483#M33858</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-01-13T01:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating A Power BI App – missing fields</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Creating-A-Power-BI-App-missing-fields/m-p/2283109#M33875</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/243732"&gt;@Shreyas1902&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Perhaps you can try to manually define a table template to initialization, then you can load correspond table records from the response table to the template.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://blog.crossjoin.co.uk/2016/06/03/creating-tables-in-power-bipower-query-m-code-using-table/" target="_blank"&gt;Chris Webb's BI Blog: Creating Tables In Power BI/Power Query M Code Using #table() Chris Webb's BI Blog (crossjoin.co.uk)&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Sample code:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Custom1 = Table.Combine({Source,#table(type table[A,B,C,D,E],{})}&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Source table:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 723px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/656082iD0851AE38EC00116/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Result:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 843px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/656083i985B69AB1475639B/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Notice:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;1. The right one is the template table with all fields.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;2. ' Table.combine' function will add all the fields to the result table, the columns that do not exist in the raw table will be filled with null values.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 06:26:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Creating-A-Power-BI-App-missing-fields/m-p/2283109#M33875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-14T06:26:50Z</dc:date>
    </item>
  </channel>
</rss>

