<?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 Working days since beginning of month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3028739#M103401</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a measure that will display the number of working days it took for uploading a certain document. For a KPI dashboard I have a measure that a certain measure is uploaded before the 10th working day that month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My source data looks like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a date table tha talso has the working days included:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Ideally I woudl now get a measure that takes the last date for a certain process (e.g. 16 january in top example) and calculates how many working days it's been since the beginning of that month, i.e. the 16th is the 11th working day.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking of something like adding a column "Number workday" or something, that says which working day the date is, but I'm not sure how this would work or if it is the best/most elegant solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would love to hear if this is possible and if so how,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks anyway for any tips and tricks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 13:39:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-18T13:39:42Z</dc:date>
    <item>
      <title>Working days since beginning of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3028739#M103401</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create a measure that will display the number of working days it took for uploading a certain document. For a KPI dashboard I have a measure that a certain measure is uploaded before the 10th working day that month.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My source data looks like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a date table tha talso has the working days included:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Ideally I woudl now get a measure that takes the last date for a certain process (e.g. 16 january in top example) and calculates how many working days it's been since the beginning of that month, i.e. the 16th is the 11th working day.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was thinking of something like adding a column "Number workday" or something, that says which working day the date is, but I'm not sure how this would work or if it is the best/most elegant solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would love to hear if this is possible and if so how,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks anyway for any tips and tricks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 13:39:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3028739#M103401</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-18T13:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Working days since beginning of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3028935#M103420</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you would get a solution quicker if you paste your sample data as text and also provide table showing the expected result.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 14:42:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3028935#M103420</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-18T14:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Working days since beginning of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3029005#M103427</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;,&amp;nbsp;thanks for the Tip:&lt;/P&gt;&lt;P&gt;Import DateProcess&lt;/P&gt;&lt;P&gt;Here a sample of the [Process] Table&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Process&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;17/01/2023&lt;/TD&gt;&lt;TD&gt;Model uploads&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;17/01/2023&lt;/TD&gt;&lt;TD&gt;Dates table&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;13/01/2023&lt;/TD&gt;&lt;TD&gt;Perform Checks&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10/01/2023&lt;/TD&gt;&lt;TD&gt;Manager meeting&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;06/01/2023&lt;/TD&gt;&lt;TD&gt;Uploads part 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02/01/2023&lt;/TD&gt;&lt;TD&gt;Uploads part 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15/12/2022&lt;/TD&gt;&lt;TD&gt;Model uploads&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15/12/2022&lt;/TD&gt;&lt;TD&gt;Dates table&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;14/12/2022&lt;/TD&gt;&lt;TD&gt;Perform Checks&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;13/12/2022&lt;/TD&gt;&lt;TD&gt;Manager meeting&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12/12/2022&lt;/TD&gt;&lt;TD&gt;Uploads part 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/12/2022&lt;/TD&gt;&lt;TD&gt;Uploads part 1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My initial idea is to add a "Working date number" column in this table, that way I can perhaps make a measure to see what the corresponding working day is, this would look like this:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Process&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Working day num&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;17/01/2023&lt;/TD&gt;&lt;TD&gt;Model uploads&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;17/01/2023&lt;/TD&gt;&lt;TD&gt;Dates table&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;13/01/2023&lt;/TD&gt;&lt;TD&gt;Perform Checks&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;10/01/2023&lt;/TD&gt;&lt;TD&gt;Manager meeting&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;06/01/2023&lt;/TD&gt;&lt;TD&gt;Uploads part 2&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;02/01/2023&lt;/TD&gt;&lt;TD&gt;Uploads part 1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15/12/2022&lt;/TD&gt;&lt;TD&gt;Model uploads&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15/12/2022&lt;/TD&gt;&lt;TD&gt;Dates table&lt;/TD&gt;&lt;TD&gt;11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;14/12/2022&lt;/TD&gt;&lt;TD&gt;Perform Checks&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;13/12/2022&lt;/TD&gt;&lt;TD&gt;Manager meeting&lt;/TD&gt;&lt;TD&gt;9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12/12/2022&lt;/TD&gt;&lt;TD&gt;Uploads part 2&lt;/TD&gt;&lt;TD&gt;8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;09/12/2022&lt;/TD&gt;&lt;TD&gt;Uploads part 1&lt;/TD&gt;&lt;TD&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, perhaps it might be easier to make a measure directly, without creating an additional column?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the dashboard I need to know whether the "Model uploads" happened before or after the 11th working day for example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this provides some additional information.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:15:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3029005#M103427</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-18T15:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Working days since beginning of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3029023#M103430</link>
      <description>&lt;P&gt;hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for the first row:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;17/01/2023&lt;/TD&gt;&lt;TD&gt;Model uploads&lt;/TD&gt;&lt;TD&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;could you explain how comes the 12?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:21:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3029023#M103430</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-01-18T15:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Working days since beginning of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3029033#M103431</link>
      <description>&lt;P&gt;The idea is that "model uploads" happens on the 17th of january. This is the 12th working day in the month, hence the working day of completion is 12. I could then see if the Model uploads happen before the 11ht working day for example (which in this case it doesn't).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 15:28:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3029033#M103431</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-18T15:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Working days since beginning of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3039488#M104190</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;I'd like to suggest you take a look at the dax&amp;nbsp;NETWORKDAYS function, it can be used to calculate te working day and auto exclude the weekend and holidays range calculations based on parameters.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://blog.enterprisedna.co/calculate-workdays-between-two-dates-in-power-bi/" target="_blank"&gt;Calculate Workdays Between Two Dates in Power BI (enterprisedna.co)&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/networkdays-dax" target="_blank"&gt;NETWORKDAYS function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 07:23:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3039488#M104190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-24T07:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Working days since beginning of month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3040637#M104281</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Thanks! this worked perfectly.&amp;nbsp;&lt;BR /&gt;I added a column "first of month" to the first table in power query using "STARTOFMONTH"&amp;nbsp;&lt;BR /&gt;and then added the custom column using&amp;nbsp;&lt;A href="https://blog.enterprisedna.co/calculate-workdays-between-two-dates-in-power-bi/" target="_blank"&gt;Calculate Workdays Between Two Dates in Power BI (enterprisedna.co)&lt;/A&gt;!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 14:54:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Working-days-since-beginning-of-month/m-p/3040637#M104281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-24T14:54:14Z</dc:date>
    </item>
  </channel>
</rss>

