<?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: Creating a measure for Working Days with &amp;quot;Holiday Dates&amp;quot; in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-measure-for-Working-Days-with-quot-Holiday-Dates-quot/m-p/2853237#M91566</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="416241" data-lia-user-login="SteelChampzz" class="lia-mention lia-mention-user"&gt;SteelChampzz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like this?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Try this measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;isworkingday = IF(SELECTEDVALUE('Table'[dayname])="Sat"||SELECTEDVALUE('Table'[dayname])="Sun",0,1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Community Support Team&amp;nbsp;&lt;STRONG&gt;Selina&amp;nbsp;zhu&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2022 09:15:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-10-20T09:15:21Z</dc:date>
    <item>
      <title>Creating a measure for Working Days with "Holiday Dates"</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-measure-for-Working-Days-with-quot-Holiday-Dates-quot/m-p/2851671#M91434</link>
      <description>&lt;P&gt;I have a Calendar that I've created in DAX and I want to create a column that shows "Is A Working Day"&lt;/P&gt;&lt;P&gt;0=Not a working day&lt;BR /&gt;1=Is A Working Day&lt;/P&gt;&lt;P&gt;I want to create a variable calculation where I can include a "Conditional If statement" including Dates in the measure to return "0" for those dates that are holidays.&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;5/30/2022 = 0&lt;/P&gt;&lt;P&gt;7/4/2022 = 0&lt;/P&gt;&lt;P&gt;This is how my calendar is laid out&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;And this is my measure for "IsWorkingDay"&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I feel that I can turn this measure into variables where I can have both "IsWorkingDay" measure and the "IF statement" to create my column.&lt;/P&gt;&lt;P&gt;I'm still very new to creating DAX measure but I'm slowly picking it up.&lt;BR /&gt;The help would be greatly appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 14:59:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-measure-for-Working-Days-with-quot-Holiday-Dates-quot/m-p/2851671#M91434</guid>
      <dc:creator>SteelChampzz</dc:creator>
      <dc:date>2022-10-19T14:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a measure for Working Days with "Holiday Dates"</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-measure-for-Working-Days-with-quot-Holiday-Dates-quot/m-p/2853237#M91566</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="416241" data-lia-user-login="SteelChampzz" class="lia-mention lia-mention-user"&gt;SteelChampzz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like this?&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Try this measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;isworkingday = IF(SELECTEDVALUE('Table'[dayname])="Sat"||SELECTEDVALUE('Table'[dayname])="Sun",0,1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Community Support Team&amp;nbsp;&lt;STRONG&gt;Selina&amp;nbsp;zhu&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 09:15:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Creating-a-measure-for-Working-Days-with-quot-Holiday-Dates-quot/m-p/2853237#M91566</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-20T09:15:21Z</dc:date>
    </item>
  </channel>
</rss>

