<?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: dax measures  for calculating dates in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-measures-for-calculating-dates/m-p/3722093#M144955</link>
    <description>&lt;P&gt;hello thanks for reply This is my pbi file&amp;nbsp;&lt;A title="pbi file" href="https://1drv.ms/u/s!As-fix_XbK9zhHfGq-OLEKAkwxFp?e=Ev6G6h" target="_self"&gt;https://1drv.ms/u/s!As-fix_XbK9zhHfGq-OLEKAkwxFp?e=Ev6G6h&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically what am trying to do is to calculate monthly km used and monthly fuel consumed for this period&lt;/P&gt;&lt;P&gt;For example Nissan sunny rent started on 9 october 2023, and every month on 9th day rent is paid, also allowed kms per months are 2500 km&lt;/P&gt;&lt;P&gt;So from 9 october till 9 november this is 1 months of rental, so on 9th of November I record how many km used, also I have a table for fuel consumption each type I refuel the car with how many liters&lt;/P&gt;&lt;P&gt;So what I want basically for each months to see the km used , but as I record on 9 november, this actually are October kms used as from 9 october to 9 november car was used&lt;/P&gt;&lt;P&gt;And remaining km are “allowed km-km used”&lt;/P&gt;&lt;P&gt;Also how I can write a dax to calculate fuel from 9 october till 9 november?&lt;/P&gt;&lt;P&gt;Also how on my table for november sum of km used should be actually october, how to do that?&lt;/P&gt;&lt;P&gt;Or should i initially change my table?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Feb 2024 17:16:30 GMT</pubDate>
    <dc:creator>atallah</dc:creator>
    <dc:date>2024-02-25T17:16:30Z</dc:date>
    <item>
      <title>dax measures  for calculating dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-measures-for-calculating-dates/m-p/3721384#M144917</link>
      <description>&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to calculate remaining kms that are allowed for using rented car, for example nissan sunny started the rent on 9 oct 2023, and monthly allowance is 2500 km, so by february i have an allowance of 12500 km, so when i dont select year/months my calculation is giving wrong remaining kms&lt;/P&gt;&lt;P&gt;But when am selecting months/year, everything is correct, as shown in snapshot, can anyone tell me what am doing wrong in dax measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 20:02:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-measures-for-calculating-dates/m-p/3721384#M144917</guid>
      <dc:creator>atallah</dc:creator>
      <dc:date>2024-02-24T20:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: dax measures  for calculating dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-measures-for-calculating-dates/m-p/3721436#M144927</link>
      <description>&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &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;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &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>Sat, 24 Feb 2024 22:39:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-measures-for-calculating-dates/m-p/3721436#M144927</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-02-24T22:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: dax measures  for calculating dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-measures-for-calculating-dates/m-p/3722093#M144955</link>
      <description>&lt;P&gt;hello thanks for reply This is my pbi file&amp;nbsp;&lt;A title="pbi file" href="https://1drv.ms/u/s!As-fix_XbK9zhHfGq-OLEKAkwxFp?e=Ev6G6h" target="_self"&gt;https://1drv.ms/u/s!As-fix_XbK9zhHfGq-OLEKAkwxFp?e=Ev6G6h&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically what am trying to do is to calculate monthly km used and monthly fuel consumed for this period&lt;/P&gt;&lt;P&gt;For example Nissan sunny rent started on 9 october 2023, and every month on 9th day rent is paid, also allowed kms per months are 2500 km&lt;/P&gt;&lt;P&gt;So from 9 october till 9 november this is 1 months of rental, so on 9th of November I record how many km used, also I have a table for fuel consumption each type I refuel the car with how many liters&lt;/P&gt;&lt;P&gt;So what I want basically for each months to see the km used , but as I record on 9 november, this actually are October kms used as from 9 october to 9 november car was used&lt;/P&gt;&lt;P&gt;And remaining km are “allowed km-km used”&lt;/P&gt;&lt;P&gt;Also how I can write a dax to calculate fuel from 9 october till 9 november?&lt;/P&gt;&lt;P&gt;Also how on my table for november sum of km used should be actually october, how to do that?&lt;/P&gt;&lt;P&gt;Or should i initially change my table?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2024 17:16:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-measures-for-calculating-dates/m-p/3722093#M144955</guid>
      <dc:creator>atallah</dc:creator>
      <dc:date>2024-02-25T17:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: dax measures  for calculating dates</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-measures-for-calculating-dates/m-p/3722371#M144969</link>
      <description>&lt;P&gt;Your calendar table is incomplete&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 00:19:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/dax-measures-for-calculating-dates/m-p/3722371#M144969</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-02-26T00:19:30Z</dc:date>
    </item>
  </channel>
</rss>

