<?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: How to distribut days in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3089587#M108168</link>
    <description>&lt;P&gt;Please try to convert your check-in/check-out data in your reservas-data to date-type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2023 06:53:23 GMT</pubDate>
    <dc:creator>Lennard</dc:creator>
    <dc:date>2023-02-21T06:53:23Z</dc:date>
    <item>
      <title>How to distribut days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3088762#M108106</link>
      <description>&lt;P&gt;I'm working in a hotel and I need to distribut and sum the number of night on each Monty.&lt;/P&gt;&lt;P&gt;For example, a client stay since 28/12/2022 to 03/01/2023, (3 nights in december and 3 nights in January)&lt;/P&gt;&lt;P&gt;Now I can count the number of nights per Month, but I can't sum the total of nights for each Month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 20:16:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3088762#M108106</guid>
      <dc:creator>Jc_16</dc:creator>
      <dc:date>2023-02-20T20:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to distribut days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3088804#M108108</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess your data table looks similar to this:&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Guest&lt;/TD&gt;&lt;TD&gt;Arrival&lt;/TD&gt;&lt;TD&gt;Departure&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;27.12.2022&lt;/TD&gt;&lt;TD&gt;05.01.2023&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;30.11.2022&lt;/TD&gt;&lt;TD&gt;01.12.2022&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calendartable:&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;Crossjoin:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;virtable = &lt;/SPAN&gt;&lt;SPAN&gt;filter&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CROSSJOIN&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;cal&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Arrival]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;=&lt;/SPAN&gt;&lt;SPAN&gt;cal&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;'Table'&lt;/SPAN&gt;&lt;SPAN&gt;[Departure]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;cal&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 20:42:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3088804#M108108</guid>
      <dc:creator>Lennard</dc:creator>
      <dc:date>2023-02-20T20:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to distribut days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3089077#M108117</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm having some problems when I wrote the querry:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I can't do it like you said.&lt;BR /&gt;&lt;BR /&gt;Can you help me with the problem?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 00:49:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3089077#M108117</guid>
      <dc:creator>Jc_16</dc:creator>
      <dc:date>2023-02-21T00:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to distribut days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3089587#M108168</link>
      <description>&lt;P&gt;Please try to convert your check-in/check-out data in your reservas-data to date-type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 06:53:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3089587#M108168</guid>
      <dc:creator>Lennard</dc:creator>
      <dc:date>2023-02-21T06:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to distribut days</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3089830#M108198</link>
      <description>&lt;P&gt;I have already done it but I can't execute the crossjoin.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2023 09:05:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-distribut-days/m-p/3089830#M108198</guid>
      <dc:creator>Jc_16</dc:creator>
      <dc:date>2023-02-21T09:05:04Z</dc:date>
    </item>
  </channel>
</rss>

