<?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 Logical Measure Using 3 Tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Measure-Using-3-Tables/m-p/1406855#M25979</link>
    <description>&lt;P&gt;Hello Community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure this is even possible... So I have 3 tables... a user table which has a relationship to an organisational hierarchy table using the user_id, the organisation table in turn has a relationship to a cost centre table using an obs_ref key. There isnt any key to link the user table direct to the organisational table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to be able to do is create a measure which looks at the user in the user table, and if that user's cost centre has specific characters in the string it will create a value "xxx, xx"... essentially its masking the users name depending which cost centre they are in...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could do some merging in power query and then add a custom column etc. but I was wondering if dax could handle this in a measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2020 08:54:33 GMT</pubDate>
    <dc:creator>andybamber</dc:creator>
    <dc:date>2020-10-01T08:54:33Z</dc:date>
    <item>
      <title>Logical Measure Using 3 Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Measure-Using-3-Tables/m-p/1406855#M25979</link>
      <description>&lt;P&gt;Hello Community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure this is even possible... So I have 3 tables... a user table which has a relationship to an organisational hierarchy table using the user_id, the organisation table in turn has a relationship to a cost centre table using an obs_ref key. There isnt any key to link the user table direct to the organisational table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to be able to do is create a measure which looks at the user in the user table, and if that user's cost centre has specific characters in the string it will create a value "xxx, xx"... essentially its masking the users name depending which cost centre they are in...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could do some merging in power query and then add a custom column etc. but I was wondering if dax could handle this in a measure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 08:54:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Measure-Using-3-Tables/m-p/1406855#M25979</guid>
      <dc:creator>andybamber</dc:creator>
      <dc:date>2020-10-01T08:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Measure Using 3 Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Measure-Using-3-Tables/m-p/1406898#M25986</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="255456" data-lia-user-login="andybamber" class="lia-mention lia-mention-user"&gt;andybamber&lt;/a&gt; ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 09:07:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Measure-Using-3-Tables/m-p/1406898#M25986</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2020-10-01T09:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Measure Using 3 Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Measure-Using-3-Tables/m-p/1406950#M25995</link>
      <description>&lt;P&gt;Hi There! thanks for the quick response... i've attached an Excel which hopefully illustrates my issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;User table joined to Org on User_Id, and then Org joined to CC on OBS_Key... i need to look at the user_id (this table also contains full name) and if the CC contains DE then the measure needs to show something like "xx, xx", else actual name "Bamber, A"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 09:23:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Measure-Using-3-Tables/m-p/1406950#M25995</guid>
      <dc:creator>andybamber</dc:creator>
      <dc:date>2020-10-01T09:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Logical Measure Using 3 Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Measure-Using-3-Tables/m-p/1409503#M26093</link>
      <description>&lt;P&gt;Hi There! just wondering if you managed to find a solutiuon for this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 11:56:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Logical-Measure-Using-3-Tables/m-p/1409503#M26093</guid>
      <dc:creator>andybamber</dc:creator>
      <dc:date>2020-10-02T11:56:31Z</dc:date>
    </item>
  </channel>
</rss>

