<?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: Blank table visual in the drillthrough page when using a measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Blank-table-visual-in-the-drillthrough-page-when-using-a-measure/m-p/3752053#M146343</link>
    <description>&lt;P&gt;Thanks for your reply. The logic behind this:&lt;BR /&gt;'Fact'[Date Closed]&amp;nbsp;&amp;gt;&amp;nbsp;MAX('Calendar'[Date])&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is to calculate those records overdue where the Date closed is higher than the max calendar date for a specific period and at the same time&amp;nbsp;&amp;nbsp;MAX('Calendar'[Date]) &amp;gt;&amp;nbsp;'Fact'[Expected Completion Date ].&lt;/P&gt;&lt;P&gt;If the closed date is higher than the Calendar Date, it does mean that it was blank at the time, and if at the same time&amp;nbsp;&amp;nbsp;MAX('Calendar'[Date]) &amp;gt;&amp;nbsp;'Fact'[Expected Completion Date ], it means that it was overdue.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;"You try to figure out with measure Overdue some details, and using&amp;nbsp;drillthrough page?"&lt;BR /&gt;&lt;/EM&gt;The bar chart where the Overdue measure is in the Summery page, selecting a bar, I want to drillthrough those data in the drillthrough page.&lt;BR /&gt;In the Overdue measure, I have used also ALL, with the same results of ALLSELECTED.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I'll have a look at the link you posted.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Mar 2024 20:16:48 GMT</pubDate>
    <dc:creator>mariella2</dc:creator>
    <dc:date>2024-03-08T20:16:48Z</dc:date>
    <item>
      <title>Blank table visual in the drillthrough page when using a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Blank-table-visual-in-the-drillthrough-page-when-using-a-measure/m-p/3751920#M146335</link>
      <description>&lt;P&gt;Hi all, I have a two pages report. The first page is for summary data and the second for detailing data (Drillthrough page).&lt;/P&gt;&lt;P&gt;In the summary page, I have a &lt;STRONG&gt;bar chart &lt;/STRONG&gt;having&lt;STRONG&gt; Calendar [Month Year] &lt;/STRONG&gt;field on the x axis and &lt;STRONG&gt;a measure of Overdue tasks &lt;/STRONG&gt;on the y axis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Overdue =&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;COUNTROWS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Fact'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ALLSELECTED&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Fact'&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPA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t;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;'Fact'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Closed]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;&amp;amp; &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;) &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;'Fact'&lt;/SPAN&gt;&lt;SPAN&gt;[Expected Completion Date ]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;When I &lt;STRONG&gt;drillthrough&lt;/STRONG&gt; on the &lt;STRONG&gt;bar chart&lt;/STRONG&gt;, I get an &lt;STRONG&gt;empty table&lt;/STRONG&gt; on the &lt;STRONG&gt;drillthrough page&lt;/STRONG&gt;. I have checked all the bars in the visual and getting the same result. The drillthrough page has the Overdue measure on the page info, in order to drillthrough for that context.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;The table consists of the id field, date opened, date closed, Expected Date fields, and the Overdue measure.&lt;BR /&gt;If I &lt;STRONG&gt;remove the Overdue measure&lt;/STRONG&gt; from the table, I get rows based on the &lt;STRONG&gt;Month Year from the bar chart for the Date Opened&lt;/STRONG&gt;. So, if I select the bar for&amp;nbsp;&lt;STRONG&gt;December 2022 in the bar visual&lt;/STRONG&gt;, the drillthrough table shows records with Date Opened in December 2022 instead of showing the results from the Overdue measure calculation.&lt;BR /&gt;In the report model, there is an &lt;STRONG&gt;active relantionship&lt;/STRONG&gt; between &lt;STRONG&gt;Date Opened&lt;/STRONG&gt; and &lt;STRONG&gt;Calendar [Date]&lt;/STRONG&gt;. The other 2 Date fields have an inactive relantionships.&lt;BR /&gt;&lt;BR /&gt;I have tried to add to the overdue measure the REMOVEFILTERS('FACT'[DATE OPENED]) for each of the three calculations inside the measure, or to use CROSSFILTER('CALENDAR'[DATE], FACT[DATE OPENED],NONE), still it didn't work.&lt;BR /&gt;&lt;BR /&gt;I've came across this link:&amp;nbsp;&lt;A href="https://blog.crossjoin.co.uk/2018/12/21/power-bi-drillthrough-complex-measures/" target="_self"&gt;Criss Blog&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;I think it could be the solution to my issue, but I am unable to replicate the measure to use in my table visual in the drillthrough page.&lt;BR /&gt;If you could please help me out, I'm really grateful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 08 Mar 2024 17:18:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Blank-table-visual-in-the-drillthrough-page-when-using-a-measure/m-p/3751920#M146335</guid>
      <dc:creator>mariella2</dc:creator>
      <dc:date>2024-03-08T17:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Blank table visual in the drillthrough page when using a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Blank-table-visual-in-the-drillthrough-page-when-using-a-measure/m-p/3752037#M146340</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="557278" data-lia-user-login="mariella2" class="lia-mention lia-mention-user"&gt;mariella2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You try to figure out with measure Overdue some details, and using&amp;nbsp;drillthrough page?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;It could be that measure is not working (ALLSELECTED is used - "the most complex" function in&amp;nbsp; DAX) or your setup for drillthrough is not ok, check some &lt;A href="https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-cross-report-drill-through" target="_blank"&gt;link&lt;/A&gt; for this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am curios: what is logic behind&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'Fact'&lt;/SPAN&gt;&lt;SPAN&gt;[Date Closed]&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Calendar'&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Usually, Calendar date is equal or higher than some date in Fact table&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 20:05:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Blank-table-visual-in-the-drillthrough-page-when-using-a-measure/m-p/3752037#M146340</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2024-03-08T20:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Blank table visual in the drillthrough page when using a measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Blank-table-visual-in-the-drillthrough-page-when-using-a-measure/m-p/3752053#M146343</link>
      <description>&lt;P&gt;Thanks for your reply. The logic behind this:&lt;BR /&gt;'Fact'[Date Closed]&amp;nbsp;&amp;gt;&amp;nbsp;MAX('Calendar'[Date])&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;is to calculate those records overdue where the Date closed is higher than the max calendar date for a specific period and at the same time&amp;nbsp;&amp;nbsp;MAX('Calendar'[Date]) &amp;gt;&amp;nbsp;'Fact'[Expected Completion Date ].&lt;/P&gt;&lt;P&gt;If the closed date is higher than the Calendar Date, it does mean that it was blank at the time, and if at the same time&amp;nbsp;&amp;nbsp;MAX('Calendar'[Date]) &amp;gt;&amp;nbsp;'Fact'[Expected Completion Date ], it means that it was overdue.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;"You try to figure out with measure Overdue some details, and using&amp;nbsp;drillthrough page?"&lt;BR /&gt;&lt;/EM&gt;The bar chart where the Overdue measure is in the Summery page, selecting a bar, I want to drillthrough those data in the drillthrough page.&lt;BR /&gt;In the Overdue measure, I have used also ALL, with the same results of ALLSELECTED.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;I'll have a look at the link you posted.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 20:16:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Blank-table-visual-in-the-drillthrough-page-when-using-a-measure/m-p/3752053#M146343</guid>
      <dc:creator>mariella2</dc:creator>
      <dc:date>2024-03-08T20:16:48Z</dc:date>
    </item>
  </channel>
</rss>

