<?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: To convert Window_avg tableau expression to Power BI in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3266825#M120954</link>
    <description>&lt;P&gt;Same way. Use the WINDOW function to create your filter context and then apply your aggregation (AVERAGEX in your case)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;</description>
    <pubDate>Sat, 03 Jun 2023 19:27:32 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-06-03T19:27:32Z</dc:date>
    <item>
      <title>To convert Window_avg tableau expression to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3264141#M120799</link>
      <description>&lt;P&gt;I'm trying to convert the Tableau Expresions to Power BI.&lt;/P&gt;&lt;P&gt;How to I do this window_avg in power BI.&lt;/P&gt;&lt;P&gt;First I got the count of the column "Profit"&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then used that calculated field to find the Window_avg&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WINDOW_AVG([calculation2], 0, 7).&lt;/P&gt;&lt;P&gt;The result is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;How do I get this in power BI.&lt;BR /&gt;I have attached the PBI File.&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!Akz4acqb40UcgY0guz7vmlz0oPvSfQ?e=y1i7Pa" target="_blank"&gt;sample.pbix&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help in this is needed.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 14:38:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3264141#M120799</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-06-01T14:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: To convert Window_avg tableau expression to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3266825#M120954</link>
      <description>&lt;P&gt;Same way. Use the WINDOW function to create your filter context and then apply your aggregation (AVERAGEX in your case)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Sat, 03 Jun 2023 19:27:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3266825#M120954</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-06-03T19:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: To convert Window_avg tableau expression to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3285425#M122119</link>
      <description>&lt;P&gt;Can you type this window_avg for the above scenario. I tried using yours but it didn't work. I have screenshot the expected result and the PBI file for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basic concept is&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)to get the distinctcount of the column "Profit"&lt;/P&gt;&lt;P&gt;2) To find the Window_avg for that distinctcount column&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expected result:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The result I'm getting:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The Dax created:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;The file:&lt;A href="https://1drv.ms/u/s!Akz4acqb40UcgY0w-MmN0WgDx-FsdQ?e=NozbG9" target="_blank"&gt;sample.pbix&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help in this is really needed.&lt;BR /&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 07:59:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3285425#M122119</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-06-15T07:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: To convert Window_avg tableau expression to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3286731#M122221</link>
      <description>&lt;P&gt;Please describe exactly want you want to measure. Is it this?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Average of 8-day window sum count of transactions for each day in the table looking forward (0 .. +7)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 21:18:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3286731#M122221</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-06-15T21:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: To convert Window_avg tableau expression to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3287420#M122261</link>
      <description>&lt;P&gt;Yes somewhat like that.&lt;/P&gt;&lt;P&gt;First to get the distinctcount of the column profit then to find the window_avg for that.&lt;BR /&gt;&lt;SPAN&gt;to return the average of the expression within the window&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The simple explanation is to get the count of the column and to find the window_avg for that count.&lt;BR /&gt;I need this in the power BI.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 08:02:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3287420#M122261</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-06-16T08:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: To convert Window_avg tableau expression to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3291270#M122525</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;any idea about this&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 14:58:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3291270#M122525</guid>
      <dc:creator>asdf1608</dc:creator>
      <dc:date>2023-06-19T14:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: To convert Window_avg tableau expression to Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3291290#M122527</link>
      <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). &lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 15:04:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/To-convert-Window-avg-tableau-expression-to-Power-BI/m-p/3291290#M122527</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-06-19T15:04:23Z</dc:date>
    </item>
  </channel>
</rss>

