<?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 value based on two columns in separate tables in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1155913#M523751</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="237299" data-lia-user-login="FrankieVee" class="lia-mention lia-mention-user"&gt;FrankieVee&lt;/a&gt; , if these tables are joined on common key like company, you will be able to do. &lt;/P&gt;
&lt;P&gt;else create machine type in Table 2 also based on billed Item&lt;/P&gt;
&lt;P&gt;You can use containsstring&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/containsstring-function-dax" target="_blank"&gt;https://docs.microsoft.com/en-us/dax/containsstring-function-dax&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Create a common dimensions of machine type, company and analyze them together&lt;/P&gt;</description>
    <pubDate>Fri, 12 Jun 2020 14:13:47 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2020-06-12T14:13:47Z</dc:date>
    <item>
      <title>Create a new value based on two columns in separate tables</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1155707#M523685</link>
      <description>&lt;P&gt;Relatively new to Power BI, and have used this site plenty of times for assistance; figured I'd make my own post now after some prior digging. From what I've learned so far of PBI, this seems like a particularly unique request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two tables, from two separate queries, and I'm looking to search one column from each for similar values, to either link or combine into a new value that I'd use to search. Its worth noting as well that one of the columns is custom.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is an example of the tables:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table1, "Machine Type" column is the custom one I made based on the machine name. The goal is to be able to select "Server" or&amp;nbsp; "Workstation" in a filter, and have SERVERs or WORKSTATIONs show in Table1, and&amp;nbsp;Server_Maint or Wrk_maint show in Table2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope I have explained this well; certianly let me know if any clarification is needed. Any help is appreciated, and thank you for the past assistance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Frank V.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 12:44:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1155707#M523685</guid>
      <dc:creator>FrankieVee</dc:creator>
      <dc:date>2020-06-12T12:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new value based on two columns in separate tables</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1155913#M523751</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="237299" data-lia-user-login="FrankieVee" class="lia-mention lia-mention-user"&gt;FrankieVee&lt;/a&gt; , if these tables are joined on common key like company, you will be able to do. &lt;/P&gt;
&lt;P&gt;else create machine type in Table 2 also based on billed Item&lt;/P&gt;
&lt;P&gt;You can use containsstring&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/dax/containsstring-function-dax" target="_blank"&gt;https://docs.microsoft.com/en-us/dax/containsstring-function-dax&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Create a common dimensions of machine type, company and analyze them together&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 14:13:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1155913#M523751</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-06-12T14:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new value based on two columns in separate tables</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1156041#M523797</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="237299" data-lia-user-login="FrankieVee" class="lia-mention lia-mention-user"&gt;FrankieVee&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please show the screenshot of the expected result that you want to get?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2020 14:49:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1156041#M523797</guid>
      <dc:creator>ryan_mayu</dc:creator>
      <dc:date>2020-06-12T14:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new value based on two columns in separate tables</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1156088#M523812</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="237299" data-lia-user-login="FrankieVee" class="lia-mention lia-mention-user"&gt;FrankieVee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;After joining Company column in both the table then Create New column in Table 1:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;New = SWITCH(Tbl1[Machine Type],"WORKSTATION","Wrk_maint","SERVER","Server_Maint")&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;img /&gt;&lt;img /&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jun 2020 15:02:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1156088#M523812</guid>
      <dc:creator>Tahreem24</dc:creator>
      <dc:date>2020-06-12T15:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new value based on two columns in separate tables</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1158599#M524534</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="237299" data-lia-user-login="FrankieVee" class="lia-mention lia-mention-user"&gt;FrankieVee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that as long as the table relationship is created.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 05:45:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1158599#M524534</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2020-06-15T05:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new value based on two columns in separate tables</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1175783#M529833</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="237299" data-lia-user-login="FrankieVee" class="lia-mention lia-mention-user"&gt;FrankieVee&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Has your problem been solved?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Lionel Chen&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 09:50:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-a-new-value-based-on-two-columns-in-separate-tables/m-p/1175783#M529833</guid>
      <dc:creator>v-lionel-msft</dc:creator>
      <dc:date>2020-06-23T09:50:55Z</dc:date>
    </item>
  </channel>
</rss>

