<?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 solve complaints days without Weekends in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614601#M32492</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;solved days3 = COUNTROWS(ALL(incidents), incidents[Createdon Date] &amp;gt;=SELECTEDVALUE(incidents[createdon]) &amp;amp;&amp;amp; incidents[Createdon Date] &amp;lt;=SELECTEDVALUE(incidents[cmx_solveddate]) &amp;amp;&amp;amp; NOT(incidents[weekdaysnumber] in {6,7}) &amp;amp;&amp;amp; incidents[IsworkingDay] = TRUE()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 21 Jan 2021 15:06:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-01-21T15:06:19Z</dc:date>
    <item>
      <title>Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1612476#M32420</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="160408" data-lia-user-login="Jimmy801" class="lia-mention lia-mention-user"&gt;Jimmy801&lt;/a&gt;&amp;nbsp;this might be a common issue but I cannot find an exact solution, Please help me if you can, Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to calculate the number of days we are taking to solve a case excluding the weekends.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here are the values:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table = Incident&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column = Created date&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column = Solve date&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column = Weekdays Number&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Value = Saturday and Sunday = 6 and 7&lt;/P&gt;&lt;P&gt;Column = IsworkingDay&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Value = True and False&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 23:15:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1612476#M32420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-20T23:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1612499#M32421</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Try this measure...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Weekdays to Solve :=
COUNTROWS(
	FILTER(
		ALL(DateTable),
		DateTable[Date] &amp;gt;= SELECTEDVALUE(CreatedDate) &amp;amp;&amp;amp;
		DateTable[Date] &amp;lt;= SELECTEDVALUE(SolveDate) &amp;amp;&amp;amp;
		NOT(DateTable[Weekday] IN {6, 7}) &amp;amp;&amp;amp;
		DateTable[IsWorkingDay] = TRUE()
	)
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 23:27:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1612499#M32421</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-20T23:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1612517#M32423</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="17198" data-lia-user-login="littlemojopuppy" class="lia-mention lia-mention-user"&gt;littlemojopuppy&lt;/a&gt;&amp;nbsp;Thanks for your prompt response I tried the same DAX but i am getting the following error any suggestion on this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 00:04:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1612517#M32423</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T00:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1612540#M32425</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;looks like you're missing a comma after ALL()&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 00:34:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1612540#M32425</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-21T00:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1613365#M32455</link>
      <description>&lt;P&gt;Hello&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it was offered a solution in DAX. If you would need a solution in Power Query, let me know&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jimmy&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 07:53:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1613365#M32455</guid>
      <dc:creator>Jimmy801</dc:creator>
      <dc:date>2021-01-21T07:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614554#M32489</link>
      <description>&lt;P&gt;after including the comma still getting the error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 14:43:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614554#M32489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T14:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614558#M32490</link>
      <description>&lt;P&gt;Hello &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="160408" data-lia-user-login="Jimmy801" class="lia-mention lia-mention-user"&gt;Jimmy801&lt;/a&gt;&amp;nbsp;Yes it would be a great help if you can share the solution. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 14:45:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614558#M32490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T14:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614562#M32491</link>
      <description>&lt;P&gt;Can you provide the actual DAX you're trying and not a picture of it?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 14:47:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614562#M32491</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-21T14:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614601#M32492</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;solved days3 = COUNTROWS(ALL(incidents), incidents[Createdon Date] &amp;gt;=SELECTEDVALUE(incidents[createdon]) &amp;amp;&amp;amp; incidents[Createdon Date] &amp;lt;=SELECTEDVALUE(incidents[cmx_solveddate]) &amp;amp;&amp;amp; NOT(incidents[weekdaysnumber] in {6,7}) &amp;amp;&amp;amp; incidents[IsworkingDay] = TRUE()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jan 2021 15:06:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614601#M32492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614606#M32493</link>
      <description>&lt;P&gt;You have an extra closing parenthesis at the end&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 15:08:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614606#M32493</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-21T15:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614618#M32494</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;Now i am getting the error" too many arguments passed to the countrows function"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;solved days3 = COUNTROWS(ALL(incidents),incidents[Createdon Date] &amp;gt;=SELECTEDVALUE(incidents[Createdon Date]) &amp;amp;&amp;amp; incidents[createdon] &amp;lt;=SELECTEDVALUE(incidents[cmx_solveddate]) &amp;amp;&amp;amp; NOT(incidents[weekdaysnumber] in {6,7}) &amp;amp;&amp;amp; incidents[IsworkingDay] = TRUE())&lt;/SPAN&gt;&lt;img /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Jan 2021 15:15:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614618#M32494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T15:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614623#M32495</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please copy it exactly as posted in the thread above&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 15:17:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614623#M32495</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-21T15:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614628#M32496</link>
      <description>&lt;P&gt;Thanks for your help, but now the column is blank there is no values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;olved days3 = COUNTROWS(FILTER(ALL(incidents),incidents[Createdon Date] &amp;gt;=SELECTEDVALUE(incidents[Createdon Date]) &amp;amp;&amp;amp; incidents[createdon] &amp;lt;=SELECTEDVALUE(incidents[cmx_solveddate]) &amp;amp;&amp;amp; NOT(incidents[weekdaysnumber] in {6,7}) &amp;amp;&amp;amp; incidents[IsworkingDay] = TRUE()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 15:22:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614628#M32496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T15:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614654#M32497</link>
      <description>&lt;P&gt;You should create that as a measure - not as a calculated column.&amp;nbsp; Generally speaking, calculated columns should be avoided as much as possible.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 15:35:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614654#M32497</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-21T15:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614677#M32499</link>
      <description>&lt;P&gt;It is still showing as blank,&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure = COUNTROWS(FILTER(ALL(incidents),incidents[Createdon Date] &amp;gt;=SELECTEDVALUE(incidents[Createdon Date]) &amp;amp;&amp;amp; incidents[Createdon Date] &amp;lt;=SELECTEDVALUE(incidents[cmx_solveddate]) &amp;amp;&amp;amp; NOT(incidents[weekdaysnumber] in {6,7}) &amp;amp;&amp;amp; incidents[IsworkingDay] = TRUE()))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 15:42:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1614677#M32499</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T15:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1615384#M32532</link>
      <description>&lt;P&gt;you can view the file with sample data&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!Aj7YLBYfrzPkihemTZdczXX5R9Ns?e=bZDTni" target="_blank"&gt;https://1drv.ms/u/s!Aj7YLBYfrzPkihemTZdczXX5R9Ns?e=bZDTni&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 23:40:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1615384#M32532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-21T23:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1617799#M32628</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;you can't show that measure in a card.&amp;nbsp; It needs to be able to have some kind of context to be able to look at your incidents to determine number of days from creation to completion.&amp;nbsp; Try using it in a matrix or table.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jan 2021 01:05:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1617799#M32628</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-23T01:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1617803#M32629</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;if you want to try using something in a card try this.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VAR	IncidentSummary =
	SUMMARIZE(
		ALLSELECTED(Incidents),
		Incidents[IncidentID],
		Incidents[Createdon Date],
		Incidents[cmx_solveddate],
		"DaysToResolve",
		COUNTROWS(
			FILTER(
				ALL(DateTable),
				DateTable[Date] &amp;gt;= Incidents[Createdon Date] &amp;amp;&amp;amp;
				DateTable[Date] &amp;lt;= Incidents[cmx_solveddate] &amp;amp;&amp;amp;
				NOT(DateTable[Weekday] IN {6, 7}) &amp;amp;&amp;amp;
				DateTable[IsWorkingDay] = TRUE()
			)
		)
	)
RETURN

AVERAGEX(
	IncidentSummary,
	[DaysToResolve]
)&lt;/LI-CODE&gt;
&lt;P&gt;I'm typing this in Notepad so no warranty it's correct.&amp;nbsp; And I expect you to make a reasonable effort to debug for extra parentheses and that it was copied correctly.&amp;nbsp; If it's not good after that, I need you to provide actual data I can work with.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jan 2021 01:11:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1617803#M32629</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-23T01:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1623185#M32782</link>
      <description>&lt;P&gt;Hello Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here a Power query solution. Add a new column with this formula&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;List.Count(List.Select(List.Dates([#"Created date "],Duration.TotalDays([#"Solve date"]-[#"Created date "])+1,#duration(1,0,0,0)), each Date.DayOfWeek(_)&amp;lt;5))&lt;/LI-CODE&gt;
&lt;P&gt;here a complete example&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjLQMzDUMzJU0lEyMocyY2MB", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [#"Created date " = _t, #"Solve date  " = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Created date ", type date}, {"Solve date  ", type date}}, "de-DE"),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "Working Days", each List.Count(List.Select(List.Dates([#"Created date "],Duration.TotalDays([#"Solve date  "]-[#"Created date "])+1,#duration(1,0,0,0)), each Date.DayOfWeek(_)&amp;lt;5)), type number)
in
    #"Added Custom"&lt;/LI-CODE&gt;
&lt;P&gt;Copy paste this code to the advanced editor in a new blank query to see how the solution works. &lt;BR /&gt;&lt;BR /&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt; or &lt;STRONG&gt;solves &lt;/STRONG&gt;your problem, please mark it as solution (to help other users find useful content and to acknowledge the work of users that helped you)&lt;BR /&gt;Kudoes are nice too&lt;BR /&gt;&lt;BR /&gt;Have fun&lt;BR /&gt;&lt;BR /&gt;Jimmy&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 09:50:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1623185#M32782</guid>
      <dc:creator>Jimmy801</dc:creator>
      <dc:date>2021-01-26T09:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate solve complaints days without Weekends</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1627728#M32941</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;Nothing?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 03:07:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculate-solve-complaints-days-without-Weekends/m-p/1627728#M32941</guid>
      <dc:creator>littlemojopuppy</dc:creator>
      <dc:date>2021-01-28T03:07:54Z</dc:date>
    </item>
  </channel>
</rss>

