<?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: Migrating from Tableau, Fixed LOD help in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Migrating-from-Tableau-Fixed-LOD-help/m-p/1463361#M27645</link>
    <description>&lt;P&gt;I figured it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First:&lt;/P&gt;&lt;P&gt;[txtID] = { FIXED [EAN],[Dato] : MIN([txtID]) }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then: (To create the filter)&lt;/P&gt;&lt;P&gt;IF(mytable[txtID]=mytable[TxtID_MIN],1,0)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2020 12:25:14 GMT</pubDate>
    <dc:creator>RasmusLVF</dc:creator>
    <dc:date>2020-10-29T12:25:14Z</dc:date>
    <item>
      <title>Migrating from Tableau, Fixed LOD help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Migrating-from-Tableau-Fixed-LOD-help/m-p/1457690#M27442</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;We are migrating from Tableau, and trying to move a whole lot of reports from Tableau to PowerBI. Its mostly progressing without issues, unfortunately I got a little stuck trying to replicate a fixed lod expression which was designed to remove duplicate values in tableau - meaning if 2 lines existed the code would identify the "earliest" value and disregard the duplicate values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Tableau expression: (Which resulted in a True/False filter)&lt;/P&gt;&lt;P&gt;[txtID] = { FIXED [EAN],[Dato] : MIN([txtID]) }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried a few different approaches in PowerBI but without success.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me out?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 09:28:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Migrating-from-Tableau-Fixed-LOD-help/m-p/1457690#M27442</guid>
      <dc:creator>RasmusLVF</dc:creator>
      <dc:date>2020-10-27T09:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from Tableau, Fixed LOD help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Migrating-from-Tableau-Fixed-LOD-help/m-p/1458003#M27453</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="267233" data-lia-user-login="RasmusLVF" class="lia-mention lia-mention-user"&gt;RasmusLVF&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Hey Mate ,&lt;BR /&gt;You can use this .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Test =
CALCULATE (
    MIN ( 'you table'&lt;SPAN&gt;[txtID]&lt;/SPAN&gt; ),
    ALLEXCEPT (
         'you table' ,
        'you table'&lt;SPAN&gt;[EAN]&lt;/SPAN&gt;,
        'you table'&lt;SPAN&gt;[Dato]&lt;/SPAN&gt;
    )
)&lt;BR /&gt;&lt;BR /&gt;'Your Table '-Name it with your Table name then followed by your column name Like &lt;STRONG&gt;'you table'[txtID] &lt;BR /&gt;&lt;BR /&gt;try this and let me know if it work for you .&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;Thank you Mate&amp;nbsp; Cheers&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 11:27:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Migrating-from-Tableau-Fixed-LOD-help/m-p/1458003#M27453</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-27T11:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from Tableau, Fixed LOD help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Migrating-from-Tableau-Fixed-LOD-help/m-p/1458176#M27463</link>
      <description>&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;I does appear to be working, but doesnt seem to give me the same functionality as Tableau did.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its a somewhat complicated issue but in short, the txtid field is there to identify if the datasource came from 1 or 2 files. In case it came from 2 files, one of them will always be a duplicate and must be removed. Hence, the tableau lod calculation function was to always only include the "minimum" txtid, and exclude everything else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In tableau, when using the calculation:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[txtID] = { FIXED [EAN],[Dato] : MIN([txtID]) }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The result was a calculated field with 2 options, True or False.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.. And I am struggling to figure out how to get the same functionality in PowerBI &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 12:40:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Migrating-from-Tableau-Fixed-LOD-help/m-p/1458176#M27463</guid>
      <dc:creator>RasmusLVF</dc:creator>
      <dc:date>2020-10-27T12:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from Tableau, Fixed LOD help</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Migrating-from-Tableau-Fixed-LOD-help/m-p/1463361#M27645</link>
      <description>&lt;P&gt;I figured it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First:&lt;/P&gt;&lt;P&gt;[txtID] = { FIXED [EAN],[Dato] : MIN([txtID]) }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then: (To create the filter)&lt;/P&gt;&lt;P&gt;IF(mytable[txtID]=mytable[TxtID_MIN],1,0)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2020 12:25:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Migrating-from-Tableau-Fixed-LOD-help/m-p/1463361#M27645</guid>
      <dc:creator>RasmusLVF</dc:creator>
      <dc:date>2020-10-29T12:25:14Z</dc:date>
    </item>
  </channel>
</rss>

