<?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: Display only information from the latest day of the week where data is available in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1794437#M37814</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;the 4th of April is in calendar week 14. But I changed another thing in the Data table:&lt;/P&gt;&lt;P&gt;- Issue C on 03.04.2021 = Open&lt;/P&gt;&lt;P&gt;- Issue C on 04.04.2021 = In Progress.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do this you can reproduce what I tried to explain. Issue C is counted twice in week 14, once as "open" and once as "in progress".&lt;/P&gt;&lt;P&gt;However it should be counted only once as "in progress".&lt;/P&gt;&lt;P&gt;Han&lt;/P&gt;</description>
    <pubDate>Tue, 20 Apr 2021 08:08:04 GMT</pubDate>
    <dc:creator>TheHans</dc:creator>
    <dc:date>2021-04-20T08:08:04Z</dc:date>
    <item>
      <title>Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1790280#M37676</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with an issue tracking which I would like to visualize in a stacked bar chart, in cluding the history over past calendar weeks. The visualization shows the amount of issues grouped by status per calendar week&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issues are not updated regularly, it could be that in one week the data is updated on two days and in the other week on 5 days. However, in the chart I would like to see only the amount of issues from the last updated day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to get the calendar weeks I've crated a helper table using DAX:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The column "Date" is mapped with the column "Report Date" of the&amp;nbsp; reporting data which comes 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;The problem that I have is that in my visual ALL days per week are considered and not just the latest one.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I need your help in order to find out how to consider only the latest values from one week. I guess I need some helper column or something like that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your support&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2021 07:35:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1790280#M37676</guid>
      <dc:creator>TheHans</dc:creator>
      <dc:date>2021-04-17T07:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1790345#M37677</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="287669" data-lia-user-login="TheHans" class="lia-mention lia-mention-user"&gt;TheHans&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the below picture and the sample pbix file's link down below, whether it is what you are looking for.&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;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.&lt;BR /&gt;&lt;BR /&gt;Linkedin: &lt;A href="https://www.linkedin.com/in/jihwankim1975/" target="_blank"&gt;https://www.linkedin.com/in/jihwankim1975/&lt;/A&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Apr 2021 09:52:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1790345#M37677</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-17T09:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1790850#M37723</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;thanks a lot for the fast solution. Even if this works for the simple example I provided here, unfortunately it doesent work in my more complex context, where I have some additional filters on the page.&lt;/P&gt;&lt;P&gt;I should have mentioned this in my example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in my example this would work if I had the information "Which was the last report date in a certain calendar week?". With this, I made it already working, the downside is, that I manually need to check at the end of every week when the last update was and update this manually in my Excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So let me ask in a different way.&lt;/P&gt;&lt;P&gt;Is it possible to enhance the existing "Date" table by an additional column which calculates for every week the latest report update date ("Report date")?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or create a new table which contains this information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;</description>
      <pubDate>Sun, 18 Apr 2021 07:14:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1790850#M37723</guid>
      <dc:creator>TheHans</dc:creator>
      <dc:date>2021-04-18T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1790873#M37724</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="287669" data-lia-user-login="TheHans" class="lia-mention lia-mention-user"&gt;TheHans&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please check the below link and the measure.&lt;/P&gt;&lt;P&gt;I fixed it to describe the latest information, instead of the last date's information.&lt;/P&gt;&lt;P&gt;If it still does not suit your pbix file, please share your pbix file's link with deleting important information. Then, I can try to look into it to come up with a more accurate measure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Group by maxdate Issue&lt;/STRONG&gt; =&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VAR currentstatus =&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MAX ( Data[Status] )&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VAR maxdateissue =&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALCULATE (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LASTNONBLANK ( Data[Report Date], MAX ( Data[Issue Key] ) ),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FILTER ( ALLSELECTED ( Data[Status] ), Data[Status] = currentstatus )&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;VAR filtertable =&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FILTER (&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ALLSELECTED ( Data ),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Data[Report Date] = maxdateissue&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;amp;&amp;amp; Data[Status] = currentstatus&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;RETURN&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;COUNTROWS ( filtertable )&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;Linkedin: &lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;A href="https://www.linkedin.com/in/jihwankim1975/" target="_blank"&gt;https://www.linkedin.com/in/jihwankim1975/&lt;/A&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Apr 2021 07:48:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1790873#M37724</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-18T07:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1791207#M37746</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;thanks again for the quick reply. I will check this out and let you know.&lt;BR /&gt;Need a little bit of time to try it out &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;</description>
      <pubDate>Sun, 18 Apr 2021 18:59:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1791207#M37746</guid>
      <dc:creator>TheHans</dc:creator>
      <dc:date>2021-04-18T18:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1794300#M37809</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I checked it out. It works already pretty good. I just found one thing which does not yet work correctly.&amp;nbsp;&lt;BR /&gt;I answered already yesterday to this post but somehow my answer is gone. I had difficulties with some "invalid HTML warnings". Couldn't find it again this morning. So I try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found one case where issues would be counted more than once. I was able to reproduce this also in our example by modifying the input data accordingly.&lt;/P&gt;&lt;P&gt;On 3rd of April we have an open issue C which is in progress on 4th of April. The measure counts the open issue C on 3rd of April (since it is the last occurence of "open" in that week) and counts the issue C in progrees on 4th again. So in total we have 5 issues in week 14 instead of 4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you modify the measure in that way, that only the issues on the latest report day within a week is considered?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also another question. How did you create that measure so that it appears in an own "are" at the top of the data tables?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;When I create a measure it appears within a different table.&lt;/P&gt;&lt;P&gt;Thanks in advance, I really appreciate your support.&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 07:30:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1794300#M37809</guid>
      <dc:creator>TheHans</dc:creator>
      <dc:date>2021-04-20T07:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1794371#M37812</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="287669" data-lia-user-login="TheHans" class="lia-mention lia-mention-user"&gt;TheHans&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please correct me if I wrongly understood your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think, in my sample calendar table, the week number for each date is different than your standard.&lt;/P&gt;&lt;P&gt;mine: 4th Apr = week 14&amp;nbsp; -&amp;gt; I changed it to week15 in the link down below. Please check if it is correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your measure table, I think you have one column that contains nothing. Once you delete that column, the icon of the table will be changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Linkedin: &lt;A href="https://www.linkedin.com/in/jihwankim1975/" target="_blank"&gt;https://www.linkedin.com/in/jihwankim1975/&lt;/A&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 07:55:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1794371#M37812</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-20T07:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1794437#M37814</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;the 4th of April is in calendar week 14. But I changed another thing in the Data table:&lt;/P&gt;&lt;P&gt;- Issue C on 03.04.2021 = Open&lt;/P&gt;&lt;P&gt;- Issue C on 04.04.2021 = In Progress.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do this you can reproduce what I tried to explain. Issue C is counted twice in week 14, once as "open" and once as "in progress".&lt;/P&gt;&lt;P&gt;However it should be counted only once as "in progress".&lt;/P&gt;&lt;P&gt;Han&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 08:08:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1794437#M37814</guid>
      <dc:creator>TheHans</dc:creator>
      <dc:date>2021-04-20T08:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1794838#M37820</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="287669" data-lia-user-login="TheHans" class="lia-mention lia-mention-user"&gt;TheHans&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback.&lt;/P&gt;&lt;P&gt;I tried to write in a different way.&lt;/P&gt;&lt;P&gt;Please check the below whether it works or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;Group by maxdate Issue&lt;/STRONG&gt; =&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;VAR currentstatus =&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;MAX ( Data[Status] )&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;VAR maxdateissue =&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;FILTER (&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;ADDCOLUMNS (&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;GROUPBY (&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;CALCULATETABLE ( Data, ALLSELECTED ( Data[Status], Data[Issue Key] ) ),&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Data[Issue Key],&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;"@maxdate", MAXX ( CURRENTGROUP (), Data[Report Date] )&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;),&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;"@status", SELECTEDVALUE ( Data[Status] )&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;),&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;[@status] = currentstatus&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;VAR statustablefilter =&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;FILTER (&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;CALCULATETABLE ( Data, ALLSELECTED ( Data[Status], Data[Issue Key] ) ),&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;Data[Status] = currentstatus&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;amp;&amp;amp; Data[Report Date] = MAXX ( maxdateissue, [@maxdate] )&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;RETURN&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;COUNTROWS ( statustablefilter )&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Hi, My name is Jihwan Kim. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up. &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;Linkedin: &lt;A href="https://www.linkedin.com/in/jihwankim1975/" target="_blank"&gt;https://www.linkedin.com/in/jihwankim1975/&lt;/A&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="”calibri" color="”#0000FF”"&gt;&lt;STRONG&gt;&lt;img /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Apr 2021 11:12:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1794838#M37820</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-20T11:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1795463#M37827</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;works better and better:-)&lt;/P&gt;&lt;P&gt;there is one issue left.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason not all bars have the totals with it, see screenshot:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In order to reproduce this better, I've attached the PBI file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link to my file:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/rc0z59kcd0j6oow/test.pbix?dl=0" target="_blank"&gt;https://www.dropbox.com/s/rc0z59kcd0j6oow/test.pbix?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 15:36:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1795463#M37827</guid>
      <dc:creator>TheHans</dc:creator>
      <dc:date>2021-04-20T15:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1795973#M37843</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="287669" data-lia-user-login="TheHans" class="lia-mention lia-mention-user"&gt;TheHans&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please correct me if I wrongly understood your question.&lt;/P&gt;&lt;P&gt;I could not find any difference between the two charts.&lt;/P&gt;&lt;P&gt;I think I am missing something.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are only talking about the data labels, then I think you can just stretch enough to make each chart wider to see all the data labels like the below picture. I am not sure why your picture showed the difference, but please try to resize each chart.&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, 20 Apr 2021 20:13:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1795973#M37843</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-20T20:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1796645#M37856</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;ups, I didn see that. You're right. This was a beginner's mistake:-) Although, it is strange that if you compare weeks 11 and 12 which are the very same numbers and in one week the totals are displayed and in the other week not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for this solution. I really appreciate your support.&lt;/P&gt;&lt;P&gt;This is for me really hardcore DAX. Would you mind explaining me roughly which steps you made in the code in order to get to this result? Just if you don't mind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 06:29:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1796645#M37856</guid>
      <dc:creator>TheHans</dc:creator>
      <dc:date>2021-04-21T06:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1796738#M37857</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="287669" data-lia-user-login="TheHans" class="lia-mention lia-mention-user"&gt;TheHans&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your feedback.&lt;/P&gt;&lt;P&gt;I wrote a brief explanation about each step in the measure.&lt;/P&gt;&lt;P&gt;Please check the below link, and go click the measure. Then you can see the explanation.&lt;/P&gt;&lt;P&gt;It is the same file as yesterday's one, but I included the comment inside the measure.&lt;/P&gt;&lt;P&gt;I hope I wrote well to understand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0" target="_self"&gt;https://www.dropbox.com/s/wo8irm15d2xsbt2/thehans.pbix?dl=0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 07:06:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1796738#M37857</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-21T07:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1796909#M37859</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="291628" data-lia-user-login="Jihwan_Kim" class="lia-mention lia-mention-user"&gt;Jihwan_Kim&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;in this code, we don't have a calendar week as a context, right? This measure works for any given context, for example if I filter by month, it would also work.&lt;/P&gt;&lt;P&gt;The context of a week comes via the visual where I choose the calendar week for the Y-axis.&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 08:03:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1796909#M37859</guid>
      <dc:creator>TheHans</dc:creator>
      <dc:date>2021-04-21T08:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Display only information from the latest day of the week where data is available</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1796969#M37860</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="287669" data-lia-user-login="TheHans" class="lia-mention lia-mention-user"&gt;TheHans&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you are correct.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 08:18:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-only-information-from-the-latest-day-of-the-week-where/m-p/1796969#M37860</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-04-21T08:18:07Z</dc:date>
    </item>
  </channel>
</rss>

