<?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: hours on a week view in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/hours-on-a-week-view/m-p/3418757#M129389</link>
    <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 01:26:41 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-09-07T01:26:41Z</dc:date>
    <item>
      <title>hours on a week view</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/hours-on-a-week-view/m-p/3416399#M129275</link>
      <description>&lt;P&gt;Below i have included a rough make up of my data. along the top i have numbers 1-4. this would go through 52 becasue this represents weeks in the year. this chart below is supposed to be a matrix veiw. so for this example i am on the secend level of the matrix veiw for the department assembly. this gives me 4.2 hours for week 2. i want to be able to have it display for evrey week after its start date. i do not have start date shown for this example. but in this example it would be week 2 so from week 2 on i want to see 4.2 for this item number for assembly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 19:36:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/hours-on-a-week-view/m-p/3416399#M129275</guid>
      <dc:creator>DustinD</dc:creator>
      <dc:date>2023-09-05T19:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: hours on a week view</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/hours-on-a-week-view/m-p/3418757#M129389</link>
      <description>&lt;P&gt;Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 01:26:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/hours-on-a-week-view/m-p/3418757#M129389</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-09-07T01:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: hours on a week view</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/hours-on-a-week-view/m-p/3418873#M129399</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="573493" data-lia-user-login="DustinD" class="lia-mention lia-mention-user"&gt;DustinD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to your description, here are my steps you can follow as a solution.&lt;/P&gt;
&lt;P&gt;(1) This is my test data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;(2) We can create a measure.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var _a= CALCULATE(MIN('Table'[week]),FILTER(ALLSELECTED('Table'),'Table'[hours]&amp;lt;&amp;gt;BLANK() &amp;amp;&amp;amp; 'Table'[Department]=MAX('Table'[Department]) &amp;amp;&amp;amp; 'Table'[type]=MAX('Table'[type])))
var _b=MINX(FILTER(ALLSELECTED('Table'),'Table'[week]=_a &amp;amp;&amp;amp; 'Table'[Department]=MAX('Table'[Department]) &amp;amp;&amp;amp; 'Table'[type]=MAX('Table'[type])),'Table'[hours])
return IF(MAX('Table'[hours])=BLANK() &amp;amp;&amp;amp; MAX('Table'[week]) &amp;lt;_a,BLANK(),_b)&lt;/LI-CODE&gt;
&lt;P&gt;(3) Then the result is as follows.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the above one can't help you get the desired result, please provide some&amp;nbsp;&lt;STRONG&gt;sample data&lt;/STRONG&gt;&amp;nbsp;in your tables (&lt;STRONG&gt;exclude&amp;nbsp;sensitive&amp;nbsp;data&lt;/STRONG&gt;) with&amp;nbsp;&lt;STRONG&gt;Text&lt;/STRONG&gt;&amp;nbsp;format and your&amp;nbsp;&lt;STRONG&gt;expected result&lt;/STRONG&gt;&amp;nbsp;with backend logic and special examples.&amp;nbsp;&lt;STRONG&gt;It is better&lt;/STRONG&gt;&amp;nbsp;if you can share a&amp;nbsp;&lt;STRONG&gt;simplified&lt;/STRONG&gt;&amp;nbsp;pbix file.&amp;nbsp;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 03:10:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/hours-on-a-week-view/m-p/3418873#M129399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-07T03:10:27Z</dc:date>
    </item>
  </channel>
</rss>

