<?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 Get Total Days by Day of Week in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Total-Days-by-Day-of-Week/m-p/2707689#M82162</link>
    <description>&lt;P&gt;Hello! I have tried to find other posts similar to my issue, but so far I haven't seen any.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get the total days by day of week - for example, for April 2022 Sun. = 4, Mon. = 4, Tue. = 4, Wed. = 4, Thu. = 4, Fri. =5, Sat. = 5. I have gotten close by just pulling the distinct count of the day column, but the way I have the stacked column chart set up it's not quite right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I have:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Ignore the title of the chart, I'm trying to just get the total days right now so I can use those to get the averages visits by day of week. This chart has the day of week on the x-axis, the distinct count of days from my orders table as the y-axis, and the legend is category. On Friday, it shows 5 for all categories except Mammography which is 4 - I'm sure this is because I'm counting the dates and there probably was one Friday in April that there were no Mammo orders.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get every chunk to be the correct number of days? Or am I way overthinking this and there is an easier way to get the average by day of week?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 17 Aug 2022 18:43:53 GMT</pubDate>
    <dc:creator>BITSMH</dc:creator>
    <dc:date>2022-08-17T18:43:53Z</dc:date>
    <item>
      <title>Get Total Days by Day of Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Total-Days-by-Day-of-Week/m-p/2707689#M82162</link>
      <description>&lt;P&gt;Hello! I have tried to find other posts similar to my issue, but so far I haven't seen any.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get the total days by day of week - for example, for April 2022 Sun. = 4, Mon. = 4, Tue. = 4, Wed. = 4, Thu. = 4, Fri. =5, Sat. = 5. I have gotten close by just pulling the distinct count of the day column, but the way I have the stacked column chart set up it's not quite right.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I have:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Ignore the title of the chart, I'm trying to just get the total days right now so I can use those to get the averages visits by day of week. This chart has the day of week on the x-axis, the distinct count of days from my orders table as the y-axis, and the legend is category. On Friday, it shows 5 for all categories except Mammography which is 4 - I'm sure this is because I'm counting the dates and there probably was one Friday in April that there were no Mammo orders.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get every chunk to be the correct number of days? Or am I way overthinking this and there is an easier way to get the average by day of week?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 18:43:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Total-Days-by-Day-of-Week/m-p/2707689#M82162</guid>
      <dc:creator>BITSMH</dc:creator>
      <dc:date>2022-08-17T18:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get Total Days by Day of Week</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Total-Days-by-Day-of-Week/m-p/2708410#M82200</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="354148" data-lia-user-login="BITSMH" class="lia-mention lia-mention-user"&gt;BITSMH&lt;/a&gt; , if the category is coming from a separate table I think join is missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also In you date table have column like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;weekday = format([Date], "dddd")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and use that on axis&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 03:29:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Total-Days-by-Day-of-Week/m-p/2708410#M82200</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-08-18T03:29:52Z</dc:date>
    </item>
  </channel>
</rss>

