<?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 Two table visuals - second table visual shows blank if no selection made in first table visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-table-visuals-second-table-visual-shows-blank-if-no/m-p/4006705#M156850</link>
    <description>&lt;P&gt;In my report, there are two table visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Primary_table = Show the incident's key details (such as Incident number and total processing time)&lt;BR /&gt;1. Secondary_table = based on row selection on primary_table, the secondary table is used to show the selected incident's breakdown details of primary table (such as incident number, priority, name of support teams (who picked up this incidents earlier), processing time of each support team)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When user clicks on a row in primary table, the secondary table will show the breakdown details of primary table.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Primary_table&lt;BR /&gt;Number&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Total Processing time&lt;BR /&gt;INC001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 hours&lt;BR /&gt;INC002&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 hours&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I click on first row with Incident number = INC001, the secondary_table to show the breakdown as follows.&lt;/P&gt;&lt;P&gt;Secondary_table&lt;BR /&gt;Number&amp;nbsp; &amp;nbsp; &amp;nbsp; Priority&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SUPPORT TEAM&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PROCESSING TIME&lt;BR /&gt;INC001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Low&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TEAM_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.5 hours&lt;BR /&gt;INC001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Low&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TEAM_2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.5 hours&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My question:&lt;/STRONG&gt;&lt;BR /&gt;I want the secondary table to always become blank if no user selection. I will add a card to alert the user to make selection in primary table.&amp;nbsp;&lt;STRONG&gt;How to make the secondary_table shows blank in case user does not select any row in primary_table?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, The three functions always return "true" or value "1" even though I did not make any selection on primary_table.&lt;BR /&gt;Such as clicking on the empty space on the primary_table, the below three functions still returns "true" or value 1.&lt;/P&gt;&lt;P&gt;ISFILTERED&lt;BR /&gt;HASONEVALUE&lt;BR /&gt;SELECTEDVALUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;</description>
    <pubDate>Mon, 24 Jun 2024 10:16:20 GMT</pubDate>
    <dc:creator>Kames_Chia</dc:creator>
    <dc:date>2024-06-24T10:16:20Z</dc:date>
    <item>
      <title>Two table visuals - second table visual shows blank if no selection made in first table visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-table-visuals-second-table-visual-shows-blank-if-no/m-p/4006705#M156850</link>
      <description>&lt;P&gt;In my report, there are two table visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Primary_table = Show the incident's key details (such as Incident number and total processing time)&lt;BR /&gt;1. Secondary_table = based on row selection on primary_table, the secondary table is used to show the selected incident's breakdown details of primary table (such as incident number, priority, name of support teams (who picked up this incidents earlier), processing time of each support team)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When user clicks on a row in primary table, the secondary table will show the breakdown details of primary table.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Primary_table&lt;BR /&gt;Number&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Total Processing time&lt;BR /&gt;INC001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 hours&lt;BR /&gt;INC002&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 hours&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I click on first row with Incident number = INC001, the secondary_table to show the breakdown as follows.&lt;/P&gt;&lt;P&gt;Secondary_table&lt;BR /&gt;Number&amp;nbsp; &amp;nbsp; &amp;nbsp; Priority&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SUPPORT TEAM&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;PROCESSING TIME&lt;BR /&gt;INC001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Low&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TEAM_1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.5 hours&lt;BR /&gt;INC001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Low&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TEAM_2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.5 hours&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My question:&lt;/STRONG&gt;&lt;BR /&gt;I want the secondary table to always become blank if no user selection. I will add a card to alert the user to make selection in primary table.&amp;nbsp;&lt;STRONG&gt;How to make the secondary_table shows blank in case user does not select any row in primary_table?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, The three functions always return "true" or value "1" even though I did not make any selection on primary_table.&lt;BR /&gt;Such as clicking on the empty space on the primary_table, the below three functions still returns "true" or value 1.&lt;/P&gt;&lt;P&gt;ISFILTERED&lt;BR /&gt;HASONEVALUE&lt;BR /&gt;SELECTEDVALUE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 10:16:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-table-visuals-second-table-visual-shows-blank-if-no/m-p/4006705#M156850</guid>
      <dc:creator>Kames_Chia</dc:creator>
      <dc:date>2024-06-24T10:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Two table visuals - second table visual shows blank if no selection made in first table visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-table-visuals-second-table-visual-shows-blank-if-no/m-p/4007908#M157158</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="405699" data-lia-user-login="Kames_Chia" class="lia-mention lia-mention-user"&gt;Kames_Chia&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I create two tables as you mentioned.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Then I create a measure and use it in a card visual.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
IF (
    COUNTROWS ( ALLSELECTED ( Primary_table ) )
        = COUNTROWS ( ALL ( Primary_table ) ),
    BLANK (),
    1
)&lt;/LI-CODE&gt;
&lt;P&gt;When I click on the slicer, it will&amp;nbsp; get what you want.&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;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 01:17:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Two-table-visuals-second-table-visual-shows-blank-if-no/m-p/4007908#M157158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-25T01:17:32Z</dc:date>
    </item>
  </channel>
</rss>

