<?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: calculate number of days between 2 dates except weekend and free days in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3524698#M31744</link>
    <description>&lt;P&gt;Try ask our client to upgrade Power BI Desktop, there is additional reason, May 2022 version is out of support. Currently supported versions are: Jan2023, May2023 and Sep2023.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2023 09:59:03 GMT</pubDate>
    <dc:creator>josef78</dc:creator>
    <dc:date>2023-11-09T09:59:03Z</dc:date>
    <item>
      <title>calculate number of days between 2 dates except weekend and free days</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3519632#M31689</link>
      <description>&lt;P&gt;hello ,&amp;nbsp; i'm working with power bi RS and&lt;BR /&gt;i'm trying to calculate number of days between startdate and enddate except the week end and free day but i haven't found&lt;/P&gt;&lt;P&gt;any idea please&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 10:37:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3519632#M31689</guid>
      <dc:creator>asmaG</dc:creator>
      <dc:date>2023-11-07T10:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: calculate number of days between 2 dates except weekend and free days</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3519678#M31690</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="642356" data-lia-user-login="asmaG" class="lia-mention lia-mention-user"&gt;asmaG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are looking for a simple way you should have a Date Dimesion correctly connected to your facts tables .&lt;/P&gt;&lt;P&gt;so you can have a measure which can simply calculate the date diff between the two dates ,&lt;/P&gt;&lt;P&gt;(a good date dimension is the one which have working days (as a flag for example 1) and weekend days (0).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if this is helpful for you please mark it as a solution .&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 10:56:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3519678#M31690</guid>
      <dc:creator>ShirinArshadnia</dc:creator>
      <dc:date>2023-11-07T10:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: calculate number of days between 2 dates except weekend and free days</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3519714#M31691</link>
      <description>&lt;P&gt;i add a holidays table date that containt all days not to count but after that when a i made a datediff it doesn't take all except my holidays table&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 11:05:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3519714#M31691</guid>
      <dc:creator>asmaG</dc:creator>
      <dc:date>2023-11-07T11:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: calculate number of days between 2 dates except weekend and free days</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3520629#M31704</link>
      <description>&lt;P&gt;Try NETWORKDAYS function&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 19:08:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3520629#M31704</guid>
      <dc:creator>josef78</dc:creator>
      <dc:date>2023-11-07T19:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: calculate number of days between 2 dates except weekend and free days</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3520642#M31706</link>
      <description>&lt;P&gt;i tried it but it did'nt accept it it's not a regonized function i'm work with power bi rs Version: 2.105.1143.0 64-bit (mai 2022)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 19:19:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3520642#M31706</guid>
      <dc:creator>asmaG</dc:creator>
      <dc:date>2023-11-07T19:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: calculate number of days between 2 dates except weekend and free days</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3520648#M31707</link>
      <description>&lt;P&gt;It is relatively new function, you must upgrade least to September 2022 (or bettter to last version).&lt;/P&gt;&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/whats-new-in-the-september-release-of-power-bi-report-server/#post-20960-_Toc115187768" target="_blank"&gt;Power BI Report Server September 2022 Feature Summary | Microsoft Power BI Blog | Microsoft Power BI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 19:25:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3520648#M31707</guid>
      <dc:creator>josef78</dc:creator>
      <dc:date>2023-11-07T19:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: calculate number of days between 2 dates except weekend and free days</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3521897#M31721</link>
      <description>&lt;P&gt;i don't have the permission to made it because i work with client computer and it's gonna take a long long time to have those permission &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 08:57:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3521897#M31721</guid>
      <dc:creator>asmaG</dc:creator>
      <dc:date>2023-11-08T08:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: calculate number of days between 2 dates except weekend and free days</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3524698#M31744</link>
      <description>&lt;P&gt;Try ask our client to upgrade Power BI Desktop, there is additional reason, May 2022 version is out of support. Currently supported versions are: Jan2023, May2023 and Sep2023.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 09:59:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3524698#M31744</guid>
      <dc:creator>josef78</dc:creator>
      <dc:date>2023-11-09T09:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: calculate number of days between 2 dates except weekend and free days</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3530451#M31780</link>
      <description>&lt;P&gt;hello , i finally found a solution&lt;/P&gt;&lt;P&gt;here the dax function that i used after creating a date table that containt holidays days&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;test_wee = RoundDown(DateDiff(t_faits[DATE_1], t_faits[DATE_2], Day) / 7, 0) * 5 +&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Mod(5 + Weekday(t_faits[DATE_2]) - Weekday(t_faits[DATE_1]), 5)- calculate ( COUNT ( calendrier[Date] ), FILTER ( calendrier,t_faits[DATE_1] &amp;lt;= calendrier[Date]&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;amp;&amp;amp; t_faits[DATE_2] &amp;gt;= calendrier[Date]&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;amp;&amp;amp; ( calendrier[isholiday] = 1)))&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 Nov 2023 09:22:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/calculate-number-of-days-between-2-dates-except-weekend-and-free/m-p/3530451#M31780</guid>
      <dc:creator>asmaG</dc:creator>
      <dc:date>2023-11-13T09:22:10Z</dc:date>
    </item>
  </channel>
</rss>

