<?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: Adding Custom Columns when Creating A Dataset via the API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Adding-Custom-Columns-when-Creating-A-Dataset-via-the-API/m-p/470927#M14452</link>
    <description>&lt;P&gt;One method to display the last inserted record would be to use a "Top N" filter. If you have a date/time column (or another id field) that is included in the data you would just set it up in the following manner:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 175px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/108733i6585F954460628BD/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;Then whenever you push new data the filter will ensure only the last record gets included.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jul 2018 20:12:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-24T20:12:53Z</dc:date>
    <item>
      <title>Adding Custom Columns when Creating A Dataset via the API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-Custom-Columns-when-Creating-A-Dataset-via-the-API/m-p/288092#M8458</link>
      <description>&lt;P&gt;Is there a way to create a calculated column when creating a dataset.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Folliwing the API reference:&amp;nbsp;&lt;A href="https://msdn.microsoft.com/en-us/library/mt742155.aspx" target="_blank"&gt;https://msdn.microsoft.com/en-us/library/mt742155.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems we can create an Expression for a Measure, but maybe not for a Column?&amp;nbsp; I would like to add an If Statement on a Measure as a Custom Column.&amp;nbsp; &amp;nbsp;This is easily accomplished in Desktop, but not sure if the API supports this or not.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 15:46:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-Custom-Columns-when-Creating-A-Dataset-via-the-API/m-p/288092#M8458</guid>
      <dc:creator>rayishome</dc:creator>
      <dc:date>2017-10-23T15:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Columns when Creating A Dataset via the API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-Custom-Columns-when-Creating-A-Dataset-via-the-API/m-p/288615#M8478</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/10752"&gt;@rayishome&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Is there a way to create a calculated column when creating a dataset.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Folliwing the API reference:&amp;nbsp;&lt;A href="https://msdn.microsoft.com/en-us/library/mt742155.aspx" target="_blank"&gt;https://msdn.microsoft.com/en-us/library/mt742155.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems we can create an Expression for a Measure, but maybe not for a Column?&amp;nbsp; I would like to &lt;STRONG&gt;add an If Statement on a Measure as a Custom Column&lt;/STRONG&gt;.&amp;nbsp; &amp;nbsp;This is easily accomplished in Desktop, but not sure if the API supports this or not.&amp;nbsp;&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/10752"&gt;@rayishome&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;AFAIK, custom column is not supported. What is your scenario that a custom column is mandatory? Maybe you can just create a normal column for the dataset and implement the if statement when &lt;A href="https://msdn.microsoft.com/en-US/library/mt203561.aspx" target="_self"&gt;Adding Rows&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 06:51:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-Custom-Columns-when-Creating-A-Dataset-via-the-API/m-p/288615#M8478</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-10-24T06:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Columns when Creating A Dataset via the API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-Custom-Columns-when-Creating-A-Dataset-via-the-API/m-p/289377#M8495</link>
      <description>We are trying to display the last inserted record from a push dataset.</description>
      <pubDate>Tue, 24 Oct 2017 23:38:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-Custom-Columns-when-Creating-A-Dataset-via-the-API/m-p/289377#M8495</guid>
      <dc:creator>rayishome</dc:creator>
      <dc:date>2017-10-24T23:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Adding Custom Columns when Creating A Dataset via the API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Adding-Custom-Columns-when-Creating-A-Dataset-via-the-API/m-p/470927#M14452</link>
      <description>&lt;P&gt;One method to display the last inserted record would be to use a "Top N" filter. If you have a date/time column (or another id field) that is included in the data you would just set it up in the following manner:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 175px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/108733i6585F954460628BD/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;Then whenever you push new data the filter will ensure only the last record gets included.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jul 2018 20:12:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Adding-Custom-Columns-when-Creating-A-Dataset-via-the-API/m-p/470927#M14452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-24T20:12:53Z</dc:date>
    </item>
  </channel>
</rss>

