<?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 How to get Totals per month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Totals-per-month/m-p/798287#M4746</link>
    <description>&lt;P&gt;Hi all!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the table "C&amp;amp;R BI" with the total of invoices done in each month and I want to add a column to obtain the percentage of Credit &amp;amp; Rebills done per month by my team, which I have in another table. So, basically, I need to divide the &lt;STRONG&gt;total of C&amp;amp;R done&lt;/STRONG&gt; per &lt;STRONG&gt;Total of invoices&lt;/STRONG&gt;. Problem is that I don't have the total per month of C&amp;amp;R done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In table "C&amp;amp;R BI" I have the total invoiced per month, with the following columns, as an example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month/Year&amp;nbsp; &amp;nbsp; | Total invoiced&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;January 2018&amp;nbsp; |&amp;nbsp; 300000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In another table, named "C&amp;amp;R Report", I have a list for each C&amp;amp;R done with the month in each line. It would be as follow:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month/Year&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;Count&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;January 2018&amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;The "1" represents that it's a C&amp;amp;R, which will help with the SUM.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also a Date dimension table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I add a column to do that calculation? Get the &lt;STRONG&gt;total of C&amp;amp;R per month&lt;/STRONG&gt; and divide it per &lt;STRONG&gt;Total invoiced&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Excel mind thought in a SUMIF, but I found that it's not available in PowerBI (or I don't know how it's the code).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2019 15:33:13 GMT</pubDate>
    <dc:creator>sconconi</dc:creator>
    <dc:date>2019-09-20T15:33:13Z</dc:date>
    <item>
      <title>How to get Totals per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Totals-per-month/m-p/798287#M4746</link>
      <description>&lt;P&gt;Hi all!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the table "C&amp;amp;R BI" with the total of invoices done in each month and I want to add a column to obtain the percentage of Credit &amp;amp; Rebills done per month by my team, which I have in another table. So, basically, I need to divide the &lt;STRONG&gt;total of C&amp;amp;R done&lt;/STRONG&gt; per &lt;STRONG&gt;Total of invoices&lt;/STRONG&gt;. Problem is that I don't have the total per month of C&amp;amp;R done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In table "C&amp;amp;R BI" I have the total invoiced per month, with the following columns, as an example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month/Year&amp;nbsp; &amp;nbsp; | Total invoiced&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;January 2018&amp;nbsp; |&amp;nbsp; 300000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In another table, named "C&amp;amp;R Report", I have a list for each C&amp;amp;R done with the month in each line. It would be as follow:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Month/Year&amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;Count&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;January 2018&amp;nbsp; |&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;The "1" represents that it's a C&amp;amp;R, which will help with the SUM.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also a Date dimension table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I add a column to do that calculation? Get the &lt;STRONG&gt;total of C&amp;amp;R per month&lt;/STRONG&gt; and divide it per &lt;STRONG&gt;Total invoiced&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Excel mind thought in a SUMIF, but I found that it's not available in PowerBI (or I don't know how it's the code).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 15:33:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Totals-per-month/m-p/798287#M4746</guid>
      <dc:creator>sconconi</dc:creator>
      <dc:date>2019-09-20T15:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Totals per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Totals-per-month/m-p/798525#M4760</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="172878" data-lia-user-login="sconconi" class="lia-mention lia-mention-user"&gt;sconconi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can you show us your model? Are these two tables linked? To which table are you adding the column?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.&lt;BR /&gt;Nathaniel&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2019 00:07:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Totals-per-month/m-p/798525#M4760</guid>
      <dc:creator>Nathaniel_C</dc:creator>
      <dc:date>2019-09-21T00:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Totals per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Totals-per-month/m-p/803029#M4896</link>
      <description>&lt;P&gt;Hi, thanks for your reply and sorry for the delay, I was very busy at work :(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to solve it with the below formula that I'd found on another site:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE(SUM('Table1'[Sheet1]),ALLEXCEPT('TAble2','TAble2'[Date]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It didn't work out before because I didn't have the tables linked, once I did that, the formula worked.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now I have another problem, since my supervisor asked me to modify it :smileysad:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Should I explain it here or should I open another topic?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance!&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Sep 2019 12:30:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Totals-per-month/m-p/803029#M4896</guid>
      <dc:creator>sconconi</dc:creator>
      <dc:date>2019-09-26T12:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Totals per month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Totals-per-month/m-p/803130#M4898</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="172878" data-lia-user-login="sconconi" class="lia-mention lia-mention-user"&gt;sconconi&lt;/a&gt;&amp;nbsp;, I would start a new post. Nathaniel&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 13:49:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Totals-per-month/m-p/803130#M4898</guid>
      <dc:creator>Nathaniel_C</dc:creator>
      <dc:date>2019-09-26T13:49:47Z</dc:date>
    </item>
  </channel>
</rss>

