<?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: DAX For Creating Column - Power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-For-Creating-Column-Power-BI/m-p/3170799#M114282</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521723" data-lia-user-login="kunal_mehta1" class="lia-mention lia-mention-user"&gt;kunal_mehta1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about this:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And here the code in DAX for a calculated column:&lt;/P&gt;
&lt;PRE&gt;CalcColumn = 
"C" &amp;amp; RIGHT ( 'Table'[Project Number], 4 )&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Probably DAX is not the right tool for this task since it appears you are trying to cleanse the data. Consider doing such things in Power Query instead if that suits your approach. I can help you with that as well if you like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Tom&lt;BR /&gt;&lt;A href="https://www.tackytech.blog/" target="_blank"&gt;https://www.tackytech.blog/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.instagram.com/tackytechtom/" target="_blank"&gt;https://www.instagram.com/tackytechtom/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2023 04:47:46 GMT</pubDate>
    <dc:creator>tackytechtom</dc:creator>
    <dc:date>2023-04-04T04:47:46Z</dc:date>
    <item>
      <title>DAX For Creating Column - Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-For-Creating-Column-Power-BI/m-p/3170751#M114280</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I am trying to create a calculated column in a calculated table, where i have the data as follows:&lt;BR /&gt;&lt;U&gt;Project Number&lt;/U&gt;&lt;/P&gt;&lt;P&gt;O1234&lt;BR /&gt;O2345&lt;BR /&gt;O3456&lt;BR /&gt;I want to create a new column where i would have the same last 4 digits but starting with letter "C" in the same table.&lt;BR /&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;U&gt;Project Number&lt;/U&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;U&gt;C Project Number&lt;/U&gt;&lt;/P&gt;&lt;P&gt;O1234&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C1234&lt;BR /&gt;O2345&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C2345&lt;BR /&gt;O3456&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C3456&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can someone please help me with this query.&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 04:01:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-For-Creating-Column-Power-BI/m-p/3170751#M114280</guid>
      <dc:creator>kunal_mehta1</dc:creator>
      <dc:date>2023-04-04T04:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: DAX For Creating Column - Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-For-Creating-Column-Power-BI/m-p/3170799#M114282</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="521723" data-lia-user-login="kunal_mehta1" class="lia-mention lia-mention-user"&gt;kunal_mehta1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about this:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And here the code in DAX for a calculated column:&lt;/P&gt;
&lt;PRE&gt;CalcColumn = 
"C" &amp;amp; RIGHT ( 'Table'[Project Number], 4 )&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Probably DAX is not the right tool for this task since it appears you are trying to cleanse the data. Consider doing such things in Power Query instead if that suits your approach. I can help you with that as well if you like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/Tom&lt;BR /&gt;&lt;A href="https://www.tackytech.blog/" target="_blank"&gt;https://www.tackytech.blog/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://www.instagram.com/tackytechtom/" target="_blank"&gt;https://www.instagram.com/tackytechtom/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 04:47:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-For-Creating-Column-Power-BI/m-p/3170799#M114282</guid>
      <dc:creator>tackytechtom</dc:creator>
      <dc:date>2023-04-04T04:47:46Z</dc:date>
    </item>
  </channel>
</rss>

