<?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 Custom columns in DataFlow Gen2 in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/Custom-columns-in-DataFlow-Gen2/m-p/3752596#M2337</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I want to concatenate columns and then remove a certain number of characters from right/left, do I need to use the "Custom Calculation" option and this creates a new column?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to do the above on the existing column and can I use the no-code options to achieve this or does it require the M-Language expressions? Also, the expression builder is not very intuitive as the available functions are not available and have to be looked-up online.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think there are certain -and simple - operations you can do with the no-code options e.g. uppercase the text, split at a certain point, convert data type, etc. but anything like what I am trying to do, requires the M Language.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate your views on this. Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Mar 2024 11:22:11 GMT</pubDate>
    <dc:creator>FabricGeek</dc:creator>
    <dc:date>2024-03-09T11:22:11Z</dc:date>
    <item>
      <title>Custom columns in DataFlow Gen2</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Custom-columns-in-DataFlow-Gen2/m-p/3752596#M2337</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I want to concatenate columns and then remove a certain number of characters from right/left, do I need to use the "Custom Calculation" option and this creates a new column?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to do the above on the existing column and can I use the no-code options to achieve this or does it require the M-Language expressions? Also, the expression builder is not very intuitive as the available functions are not available and have to be looked-up online.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think there are certain -and simple - operations you can do with the no-code options e.g. uppercase the text, split at a certain point, convert data type, etc. but anything like what I am trying to do, requires the M Language.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate your views on this. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 11:22:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Custom-columns-in-DataFlow-Gen2/m-p/3752596#M2337</guid>
      <dc:creator>FabricGeek</dc:creator>
      <dc:date>2024-03-09T11:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom columns in DataFlow Gen2</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Custom-columns-in-DataFlow-Gen2/m-p/3752919#M2343</link>
      <description>&lt;P&gt;Concat two columns:&lt;/P&gt;&lt;P&gt;Select the two columns and click Transform -&amp;gt; Merge Columns&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To cleanse the column, use Transform-&amp;gt; Extract&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Finally, something like this is perfect candidate for Column from Example:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Give it a try - type out a few examples of what you want the output to be, and the UI should figure out how to do this effectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 18:54:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Custom-columns-in-DataFlow-Gen2/m-p/3752919#M2343</guid>
      <dc:creator>pqian_MSFT</dc:creator>
      <dc:date>2024-03-09T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Custom columns in DataFlow Gen2</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Custom-columns-in-DataFlow-Gen2/m-p/3753228#M2346</link>
      <description>&lt;P&gt;Thanks for the prompt response. Unfortunately, I don't get any examples for my columns.&lt;BR /&gt;I actually want to append a literal string e.g. X000A to an ID (existing field). I can see that I can add a column and then merge with existing column but was hoping that the&amp;nbsp;X000A could be incorporated within an expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similarly, I want to add 0000 to an existing&amp;nbsp;number and then take 4 digits from the right. I can see how the latter would be done using the extract option but don't see where I can incorporate the concatenation of&amp;nbsp;0000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps this is where I need to use the custom calculations?&lt;/P&gt;&lt;P&gt;Thanks for your support.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 09:41:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Custom-columns-in-DataFlow-Gen2/m-p/3753228#M2346</guid>
      <dc:creator>FabricGeek</dc:creator>
      <dc:date>2024-03-10T09:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom columns in DataFlow Gen2</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Custom-columns-in-DataFlow-Gen2/m-p/3753584#M2351</link>
      <description>&lt;P&gt;1. Can you clarify what do you mean by "I don't get any examples for my columns" - do you mean you provided the examples but it didn't work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Extending current string value with a suffix can be done by clicking Format -&amp;gt; Add Suffix&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Doing "Add Suffix" to a number column will actually convert it to text first, and then do the literal append of "0000" - at that point your number loses their numerical meaning and are simply textual. Perhaps this is what you wanted to do, perhaps there are numerical ways of achieving this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding column from example does not change existing columns in place. However, you can do the same by adding the column first, then dropping the old column(s).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 21:41:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Custom-columns-in-DataFlow-Gen2/m-p/3753584#M2351</guid>
      <dc:creator>pqian_MSFT</dc:creator>
      <dc:date>2024-03-10T21:41:18Z</dc:date>
    </item>
  </channel>
</rss>

