<?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: Transactions per machine between first day of operation and next 90 days in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1199690#M19145</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="48702" data-lia-user-login="Thejeswar" class="lia-mention lia-mention-user"&gt;Thejeswar&lt;/a&gt;&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Do you know how to do this? Please see previous posts to get to know the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jul 2020 06:49:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-03T06:49:29Z</dc:date>
    <item>
      <title>Transactions per machine between first day of operation and next 90 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1197330#M19055</link>
      <description>&lt;P&gt;I am currently analyzing transaction-statistics at the company I'm working for. We have a lot of machines that has different first dates of operation (i.e. one has first date of operation 02.03.17 and another has 04.03.20). We wish to get some insight in how the development of transactions per machine is in the first 90 days of operation and to see if there is differences between the machines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used this DAX-formula to calculate the total number of transactions between the first operation date and the first 90 days in operation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Operation date +90 = Calculate([total no of transactions], DATESINPERIOD(Datetable[Date], FIRSTDATE('dimNode')[operation_date],90,DAY))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the DAX-formula above I am able to see the number of transactions on an aggregated level of the whole period.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to see the day-by-day accumulated development in transactions in this period to compare the development on the different machines. The goal is to be able to visualize this in different diagrams where it is possible to filter out specific machines.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 08:45:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1197330#M19055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-02T08:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions per machine between first day of operation and next 90 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1197490#M19057</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can try this measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Measure =
CALCULATE (
    [total no of transaction]
    DATESINPERIOD ( 'Calendar'[Date], MIN ( 'Calendar'[Date] ), 90, DAY )
)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 09:25:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1197490#M19057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-02T09:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions per machine between first day of operation and next 90 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1197536#M19058</link>
      <description>&lt;P&gt;Thank you for the answer Anonymous&lt;/a&gt;&amp;nbsp;, but this gives me the same result as the DAX-formula I outlined in the first post, which is calculating the number of transactions for the whole period and then I can filter per machine/location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am trying to extract is the day-by-day accumulation of transactions within the timeperiod of the first 90 days for each machine, so that I can compare the development for specific machines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure if I have to change the DAX-formula I already have to be able to do this or if I only need to create a new measure.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 10:16:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1197536#M19058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-02T10:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions per machine between first day of operation and next 90 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1199690#M19145</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="48702" data-lia-user-login="Thejeswar" class="lia-mention lia-mention-user"&gt;Thejeswar&lt;/a&gt;&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Do you know how to do this? Please see previous posts to get to know the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 06:49:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1199690#M19145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-03T06:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions per machine between first day of operation and next 90 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1199710#M19147</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share some sample data ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;HN&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 06:58:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1199710#M19147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-03T06:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions per machine between first day of operation and next 90 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1199727#M19150</link>
      <description>&lt;P&gt;Lift the date filter all( date), add one: date m&amp;lt; min(date) + 90 dates (less than that date)&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 07:04:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1199727#M19150</guid>
      <dc:creator>stevedep</dc:creator>
      <dc:date>2020-07-03T07:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Transactions per machine between first day of operation and next 90 days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1199753#M19153</link>
      <description>&lt;P&gt;Of course&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the formula I outlined in a previous post I've managed to get these results:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Machine-ID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Number of transactions the first 90 days in operation&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Machine-XXX&lt;/TD&gt;&lt;TD&gt;90 832&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Machine-XXX&lt;/TD&gt;&lt;TD&gt;70 111&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Machine-XXX&lt;/TD&gt;&lt;TD&gt;42 000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would like to be able to do is to see/visualize in a diagram how the curve/development of transactions per machine occurs day-by-day/week-by-week within this time-period and to compare the different machines. In example I want to be able to drag and drop different machines by location and compare specific machines (i.e. machines in the same geographical area).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The DAX-formula I've used to get number of transactions the first 90 days of operation is this:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Transactions operation date +90 = CALCULATE([total no of transactions],DATESINPERIOD(Dates[Date],FIRSTDATE(dimNode[operation_date]),90,DAY))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Jul 2020 07:16:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Transactions-per-machine-between-first-day-of-operation-and-next/m-p/1199753#M19153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-03T07:16:18Z</dc:date>
    </item>
  </channel>
</rss>

