<?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: Tableau to DAX code in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3008946#M101964</link>
    <description>&lt;P&gt;I see, sorry about that. I just read the LOOKUP documentation in Tableau. The dax equivalent for LOOKUP would be OFFSET&lt;/P&gt;</description>
    <pubDate>Mon, 09 Jan 2023 12:57:58 GMT</pubDate>
    <dc:creator>ValtteriN</dc:creator>
    <dc:date>2023-01-09T12:57:58Z</dc:date>
    <item>
      <title>Tableau to DAX code</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3008853#M101956</link>
      <description>&lt;P&gt;Can anyone help in converting this code to DAX?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;S =&lt;BR /&gt;ABS([x]-LOOKUP([x],-1))/&lt;BR /&gt;(&lt;BR /&gt;SQRT&lt;BR /&gt;(&lt;BR /&gt;ABS(((([y] + LOOKUP([y],-1))/(SUM([z])+LOOKUP(SUM([z]), - 1)])))&lt;BR /&gt;*&lt;BR /&gt;(1-(([y] + LOOKUP([y],-1))/(SUM([z])+ LOOKUP(SUM([z]),-1)))))/ (1-((1/(SUM([z])+LOOKUP(SUM([z]),-1))))))&lt;BR /&gt;*&lt;BR /&gt;(1/SUM([z]) + 1/LOOKUP(SUM[z]),-1))&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 12:06:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3008853#M101956</guid>
      <dc:creator>pk1593</dc:creator>
      <dc:date>2023-01-09T12:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Tableau to DAX code</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3008936#M101961</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For converting Tableau to DAX try utilizing ChatGPT. It works fast and provides answers like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;S = ABS([x] - LOOKUPVALUE([x], -1)) / (SQRT(ABS( (([y] + LOOKUPVALUE([y], -1)) / (SUM([z]) + LOOKUPVALUE(SUM([z]), -1))) * (1 - (([y] + LOOKUPVALUE([y], -1)) / (SUM([z]) + LOOKUPVALUE(SUM([z]), -1)))) ) / (1 - ((1 / (SUM([z]) + LOOKUPVALUE(SUM([z]), -1)))))) * (1 / SUM([z]) + 1 / LOOKUPVALUE(SUM([z]), -1)))&lt;BR /&gt;&lt;BR /&gt;You can also replace / with DIVIDE to avoid issues with 0. For the [x], [y] and [z] use the corresponding column refrerences.&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 12:49:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3008936#M101961</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2023-01-09T12:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tableau to DAX code</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3008942#M101963</link>
      <description>&lt;P&gt;No this is incorrect.&amp;nbsp;&lt;BR /&gt;I tried chatGPT but lookupvalue syntax is wrong and not a substitute for Lookup in Tableau.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 12:54:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3008942#M101963</guid>
      <dc:creator>pk1593</dc:creator>
      <dc:date>2023-01-09T12:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tableau to DAX code</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3008946#M101964</link>
      <description>&lt;P&gt;I see, sorry about that. I just read the LOOKUP documentation in Tableau. The dax equivalent for LOOKUP would be OFFSET&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 12:57:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3008946#M101964</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2023-01-09T12:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tableau to DAX code</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3010225#M102036</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="496201" data-lia-user-login="pk1593" class="lia-mention lia-mention-user"&gt;pk1593&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can you provide &lt;/SPAN&gt;&lt;SPAN&gt;s&lt;/SPAN&gt;&lt;SPAN&gt;ample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&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, 10 Jan 2023 03:08:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3010225#M102036</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-01-10T03:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Tableau to DAX code</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3010414#M102045</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt; Here S (col. highlighted in yellow) is the desired result which ia the significance t-testing forumula.&lt;BR /&gt;The table has 3 data points from 2019 to 2021.&amp;nbsp;&lt;BR /&gt;x is in percentage, whereas y and z are weigted and unweighted counts of respective years.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 06:18:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3010414#M102045</guid>
      <dc:creator>pk1593</dc:creator>
      <dc:date>2023-01-10T06:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tableau to DAX code</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3012604#M102198</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332147" data-lia-user-login="v-zhangti" class="lia-mention lia-mention-user"&gt;v-zhangti&lt;/a&gt;&amp;nbsp;- Just wanted to check if you were able to convert the Tableau code to DAX ?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 02:34:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Tableau-to-DAX-code/m-p/3012604#M102198</guid>
      <dc:creator>pk1593</dc:creator>
      <dc:date>2023-01-11T02:34:39Z</dc:date>
    </item>
  </channel>
</rss>

