<?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: Adjust Calculated Column Based on Value from Unrelated Table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjust-Calculated-Column-Based-on-Value-from-Unrelated-Table/m-p/2742923#M84364</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first table does not have a column that can take user id and there is no relationship b/w the Opportunities and the User Table. Is there any other way?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Sep 2022 08:40:57 GMT</pubDate>
    <dc:creator>kartiklal7</dc:creator>
    <dc:date>2022-09-02T08:40:57Z</dc:date>
    <item>
      <title>Adjust Calculated Column Based on Value from Unrelated Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjust-Calculated-Column-Based-on-Value-from-Unrelated-Table/m-p/2741876#M84298</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a calculated column which returns some text or blank based on the condition below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Calcuated Column =  IF (
        Opportunities[Stage of Opportunity]
            IN {
            "Open - SWA Still Active",
            "Open - SWA Expired - Post Grace Period",
            "Open - SWA Expired - In Grace Period"
        }
            || Opportunities[Stage of Opportunity] = "SWA Lost"
            &amp;amp;&amp;amp; Opportunities[Reason] = "Available for Winback",
        Opportunities[RequestQuoteURL],
        ""
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another unrelated table which defines the role of the user in the following format:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I want to adjust this calculated column above so that it only returns text if the user id is that of a partner.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 00:28:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjust-Calculated-Column-Based-on-Value-from-Unrelated-Table/m-p/2741876#M84298</guid>
      <dc:creator>kartiklal7</dc:creator>
      <dc:date>2022-09-02T00:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust Calculated Column Based on Value from Unrelated Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjust-Calculated-Column-Based-on-Value-from-Unrelated-Table/m-p/2742165#M84310</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="417409" data-lia-user-login="kartiklal7" class="lia-mention lia-mention-user"&gt;kartiklal7&lt;/a&gt; , if first tbale has a column that can take user id &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calcuated Column = IF ( Opportunities[User ID] in summarize(Filter(Table2, Table2[Role] = "Partner"),Table2[User ID]) &amp;amp;&amp;amp;&lt;BR /&gt;Opportunities[Stage of Opportunity]&lt;BR /&gt;IN {&lt;BR /&gt;"Open - SWA Still Active",&lt;BR /&gt;"Open - SWA Expired - Post Grace Period",&lt;BR /&gt;"Open - SWA Expired - In Grace Period"&lt;BR /&gt;}&lt;BR /&gt;|| ( Opportunities[Stage of Opportunity] = "SWA Lost"&lt;BR /&gt;&amp;amp;&amp;amp; Opportunities[Reason] = "Available for Winback"),&lt;BR /&gt;Opportunities[RequestQuoteURL],&lt;BR /&gt;""&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 03:26:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjust-Calculated-Column-Based-on-Value-from-Unrelated-Table/m-p/2742165#M84310</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-09-02T03:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust Calculated Column Based on Value from Unrelated Table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjust-Calculated-Column-Based-on-Value-from-Unrelated-Table/m-p/2742923#M84364</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first table does not have a column that can take user id and there is no relationship b/w the Opportunities and the User Table. Is there any other way?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2022 08:40:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Adjust-Calculated-Column-Based-on-Value-from-Unrelated-Table/m-p/2742923#M84364</guid>
      <dc:creator>kartiklal7</dc:creator>
      <dc:date>2022-09-02T08:40:57Z</dc:date>
    </item>
  </channel>
</rss>

