<?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: Create a new column based on values in another (Should be easy enough) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2910036#M95089</link>
    <description>&lt;P&gt;Must you use DAX.&amp;nbsp; the best option might be Power Query?&lt;BR /&gt;&lt;BR /&gt;If you are a Power Bi novice&lt;/P&gt;
&lt;P&gt;then go into Power Query&lt;/P&gt;
&lt;P&gt;click on add column /column from example&lt;/P&gt;
&lt;P&gt;type a few sampole values and artifical intellegence will do the rest.&lt;/P&gt;
&lt;P&gt;Please try do some o line training about Power BI,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/playlist?list=PL7GQQXV5Z8eeQCLqTIoxjw0POIzHUXPae" target="_self"&gt;Click here for free training&lt;/A&gt;&amp;nbsp;&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;Thanks for reaching out for help.&lt;/P&gt;
&lt;P&gt;I put in a lot of effort to help you, now please quickly help me by giving kudos.&lt;/P&gt;
&lt;P&gt;Remember we are unpaid volunteers and here to coach you with Power BI and DAX skills and techniques, not do the users job for them. So please click the thumbs up and accept as solution button.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you give someone a fish then you only give them one meal, but if you teach them how to fish then they can feed themselves and teach others for a lifetime.&amp;nbsp; I prefer to teach members on this forum techniques rather give full solutions and do their job. You can then adapt the&amp;nbsp;technique for your solution, learn some DAX skills for next time and soon become a Power BI Super User like me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One question per ticket please. If you need to extend your request then please raise a new ticket.&lt;/P&gt;
&lt;P&gt;You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Nov 2022 16:00:54 GMT</pubDate>
    <dc:creator>speedramps</dc:creator>
    <dc:date>2022-11-16T16:00:54Z</dc:date>
    <item>
      <title>Create a new column based on values in another (Should be easy enough)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2910005#M95088</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a column like so...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Won&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Lost&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Open&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Open&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Won&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Lost&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like a new column created called "Decision Made" which would shange the values Won &amp;amp; Lost to Yes and and anything with Open to no, I twould look like below...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Status&lt;/TD&gt;&lt;TD&gt;Decision Made&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Won&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Lost&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Open&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Open&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Won&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Lost&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Taylor&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 15:50:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2910005#M95088</guid>
      <dc:creator>Ttaylor9870</dc:creator>
      <dc:date>2022-11-16T15:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new column based on values in another (Should be easy enough)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2910036#M95089</link>
      <description>&lt;P&gt;Must you use DAX.&amp;nbsp; the best option might be Power Query?&lt;BR /&gt;&lt;BR /&gt;If you are a Power Bi novice&lt;/P&gt;
&lt;P&gt;then go into Power Query&lt;/P&gt;
&lt;P&gt;click on add column /column from example&lt;/P&gt;
&lt;P&gt;type a few sampole values and artifical intellegence will do the rest.&lt;/P&gt;
&lt;P&gt;Please try do some o line training about Power BI,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/playlist?list=PL7GQQXV5Z8eeQCLqTIoxjw0POIzHUXPae" target="_self"&gt;Click here for free training&lt;/A&gt;&amp;nbsp;&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;Thanks for reaching out for help.&lt;/P&gt;
&lt;P&gt;I put in a lot of effort to help you, now please quickly help me by giving kudos.&lt;/P&gt;
&lt;P&gt;Remember we are unpaid volunteers and here to coach you with Power BI and DAX skills and techniques, not do the users job for them. So please click the thumbs up and accept as solution button.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you give someone a fish then you only give them one meal, but if you teach them how to fish then they can feed themselves and teach others for a lifetime.&amp;nbsp; I prefer to teach members on this forum techniques rather give full solutions and do their job. You can then adapt the&amp;nbsp;technique for your solution, learn some DAX skills for next time and soon become a Power BI Super User like me.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One question per ticket please. If you need to extend your request then please raise a new ticket.&lt;/P&gt;
&lt;P&gt;You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 16:00:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2910036#M95089</guid>
      <dc:creator>speedramps</dc:creator>
      <dc:date>2022-11-16T16:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new column based on values in another (Should be easy enough)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2910074#M95090</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="177566" data-lia-user-login="speedramps" class="lia-mention lia-mention-user"&gt;speedramps&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is just one column in my table and the data is example data, I think I will need to use IF or Switch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If status = yes or no, then assign to Yes,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If status = Open, then assign to No.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This in a DAX formula would be perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Taylor&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 16:11:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2910074#M95090</guid>
      <dc:creator>Ttaylor9870</dc:creator>
      <dc:date>2022-11-16T16:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new column based on values in another (Should be easy enough)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2910466#M95104</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="415490" data-lia-user-login="Ttaylor9870" class="lia-mention lia-mention-user"&gt;Ttaylor9870&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;YourMeasure = IF ( table['Status'] IN { 'Won', 'Lost' }, "Yes", "No" )&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://dax.guide/if/" target="_blank"&gt;https://dax.guide/if/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 19:30:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2910466#M95104</guid>
      <dc:creator>ERD</dc:creator>
      <dc:date>2022-11-16T19:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new column based on values in another (Should be easy enough)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2912465#M95198</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291363" data-lia-user-login="ERD" class="lia-mention lia-mention-user"&gt;ERD&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's spot on thank you very much!&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Taylor&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 11:29:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Create-a-new-column-based-on-values-in-another-Should-be-easy/m-p/2912465#M95198</guid>
      <dc:creator>Ttaylor9870</dc:creator>
      <dc:date>2022-11-17T11:29:15Z</dc:date>
    </item>
  </channel>
</rss>

