<?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: Weekly Running Total and Transformation Rate based on Two Measures in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2493506#M68735</link>
    <description>&lt;P&gt;Thanks for the response. But, the expected output is as follows as we need to find the cummulative number of both measures (adcount and sales count) and corresponding transformation rate (salescount/ adcount) each week:&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;</description>
    <pubDate>Wed, 04 May 2022 13:16:11 GMT</pubDate>
    <dc:creator>Green_Cloud</dc:creator>
    <dc:date>2022-05-04T13:16:11Z</dc:date>
    <item>
      <title>Weekly Running Total and Transformation Rate based on Two Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2487357#M68348</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;From the data source below, how can I build a report given that-&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ad count=COUNT (adddate)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sales count= COUNT(salesdate)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Report and Data Source are below-&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REPORT:&lt;/STRONG&gt;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA SOURCE:&lt;/STRONG&gt;&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 01 May 2022 17:04:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2487357#M68348</guid>
      <dc:creator>Green_Cloud</dc:creator>
      <dc:date>2022-05-01T17:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Running Total and Transformation Rate based on Two Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2487659#M68367</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="384900" data-lia-user-login="Green_Cloud" class="lia-mention lia-mention-user"&gt;Green_Cloud&lt;/a&gt; , With help from the date table, joined to date or to week date of your table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can have the week start and weekend date on your table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] &amp;lt;=max(date[Date])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all(date),date[date] &amp;lt;=max(date[Date])))&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 03:04:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2487659#M68367</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-02T03:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Running Total and Transformation Rate based on Two Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2490908#M68576</link>
      <description>&lt;P&gt;Thanks for the response. Can you please elaborate more?&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 12:49:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2490908#M68576</guid>
      <dc:creator>Green_Cloud</dc:creator>
      <dc:date>2022-05-03T12:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Running Total and Transformation Rate based on Two Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2492136#M68666</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="384900" data-lia-user-login="Green_Cloud" class="lia-mention lia-mention-user"&gt;Green_Cloud&lt;/a&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;1.create a table.&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;Date = 
ADDCOLUMNS( FILTER( CALENDAR(DATE(2021,12,31),TODAY()) ,WEEKDAY([Date]+2,1) =1),"weeknum",WEEKNUM([Date]+2,1)-1,"weekend",[Date]+6 )&lt;/LI-CODE&gt;
&lt;P&gt;2.create measures.&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;countstart = CALCULATE(COUNT('Table'[unique id]),FILTER('Table',[addate]&amp;lt;=MAX('Date'[weekstart])))&lt;/LI-CODE&gt;&lt;LI-CODE lang="java"&gt;countend = CALCULATE(COUNT('Table'[unique id]),FILTER('Table',[saledate]&amp;lt;=MAX('Date'[weekend])))&lt;/LI-CODE&gt;
&lt;P&gt;The final output is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yalan Wu&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 02:14:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2492136#M68666</guid>
      <dc:creator>v-yalanwu-msft</dc:creator>
      <dc:date>2022-05-04T02:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Running Total and Transformation Rate based on Two Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2493506#M68735</link>
      <description>&lt;P&gt;Thanks for the response. But, the expected output is as follows as we need to find the cummulative number of both measures (adcount and sales count) and corresponding transformation rate (salescount/ adcount) each week:&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;</description>
      <pubDate>Wed, 04 May 2022 13:16:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2493506#M68735</guid>
      <dc:creator>Green_Cloud</dc:creator>
      <dc:date>2022-05-04T13:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Running Total and Transformation Rate based on Two Measures</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2494710#M68784</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="384900" data-lia-user-login="Green_Cloud" class="lia-mention lia-mention-user"&gt;Green_Cloud&lt;/a&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;Change it.&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;countstart = CALCULATE(COUNT('Table'[unique id]),FILTER('Table',[addate]&amp;lt;=MAX('Date'[weekend])))&lt;/LI-CODE&gt;&lt;LI-CODE lang="java"&gt;countend = CALCULATE(COUNT('Table'[unique id]),FILTER('Table',[saledate]&amp;lt;=MAX('Date'[weekend])))&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;rate = [countend]/[countstart]&lt;/LI-CODE&gt;
&lt;P&gt;The final output is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Community Support Team _ Yalan Wu&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 02:27:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Weekly-Running-Total-and-Transformation-Rate-based-on-Two/m-p/2494710#M68784</guid>
      <dc:creator>v-yalanwu-msft</dc:creator>
      <dc:date>2022-05-05T02:27:17Z</dc:date>
    </item>
  </channel>
</rss>

