<?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 records from Table B if and only if a single row of Table A is selected in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-from-Table-B-if-and-only-if-a-single-row-of/m-p/3502895#M134342</link>
    <description>&lt;P&gt;&amp;nbsp;Create a measure around HASONEVALUE or COUNTROWS for table A and then apply that measure as a visual filter to the table visual that shows columns from B.&amp;nbsp; In your data model Table A should not control table B.&lt;/P&gt;</description>
    <pubDate>Sat, 28 Oct 2023 23:22:49 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-10-28T23:22:49Z</dc:date>
    <item>
      <title>Display records from Table B if and only if a single row of Table A is selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-from-Table-B-if-and-only-if-a-single-row-of/m-p/3501973#M134311</link>
      <description>&lt;P&gt;I have two tables, one is a summary of values and the other is detailed values by date and sub-category. They are connected by an id-date key column. When I have a single table and want to display it at two different detail levels I can use a measure that returns true if a single value is selected or false if no single value is selected and use that as a filter on the detailed view so that it doesn't show anything unless a single record is selected in the summary view. When I try this same technique for my current scenario, where I have two separate tables, Table B&amp;nbsp;&lt;EM&gt;always&lt;/EM&gt; displays records regardless of if a single value in Table A is selected or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See here, no row is selected in Table A on the left, so no records should display on the right, this screenshot is the bad behavior:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desired behavior here where when no row is selected in Table A, nothing from Table B is displayed:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when a record in Table A *is* selected, data from Table B is then displayed:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've spent a whole mess of time on this and no combination of managing/removing filters or changing relationships used in my DAX query seems to work. I feel like I'm missing something obvious as to why this isn't working for me.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 19:09:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-from-Table-B-if-and-only-if-a-single-row-of/m-p/3501973#M134311</guid>
      <dc:creator>wcarter</dc:creator>
      <dc:date>2023-10-27T19:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Display records from Table B if and only if a single row of Table A is selected</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-from-Table-B-if-and-only-if-a-single-row-of/m-p/3502895#M134342</link>
      <description>&lt;P&gt;&amp;nbsp;Create a measure around HASONEVALUE or COUNTROWS for table A and then apply that measure as a visual filter to the table visual that shows columns from B.&amp;nbsp; In your data model Table A should not control table B.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2023 23:22:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Display-records-from-Table-B-if-and-only-if-a-single-row-of/m-p/3502895#M134342</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-10-28T23:22:49Z</dc:date>
    </item>
  </channel>
</rss>

