<?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: DAX measure for Table Visual that Returns True/False Based on Related table related to 3rd table. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4802779#M183716</link>
    <description>&lt;P&gt;I think I figured it out. It took a few steps and I do not know if it is correct, but it worked:&lt;/P&gt;&lt;P&gt;1. Added a calculated column to the Allegations table:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Is ANE = 
    IF(
        RELATED('ANE'[ANE Allegation]) = Allegations[Allegation], 
        "Yes",
        "No"
    )&lt;/LI-CODE&gt;&lt;P&gt;2. Added a calculated column to the HCR Intakes table:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ANE = 
If(
    COUNTROWS(
        FILTER(RELATEDTABLE(Allegations),Allegations[Is ANE] = "Yes"))
        &amp;gt; 0,
        "Yes",
        "No"
    )  &lt;/LI-CODE&gt;&lt;P&gt;If anyone has a better more efficient solution, please share. Otherwise, my method appears to be working.&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2025 20:29:59 GMT</pubDate>
    <dc:creator>Txtcher</dc:creator>
    <dc:date>2025-08-20T20:29:59Z</dc:date>
    <item>
      <title>DAX measure for Table Visual that Returns True/False Based on Related table related to 3rd table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4802750#M183714</link>
      <description>&lt;P&gt;I need a measure that returns a true or false in a table visual.&lt;/P&gt;&lt;P&gt;Fact Table:&amp;nbsp; HCR Intakes&lt;/P&gt;&lt;P&gt;Related Fact Table:&amp;nbsp; Allegations&lt;/P&gt;&lt;P&gt;Dimension Table:&amp;nbsp; ANE&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;I am trying to build a table visual containing columns from HCR Intakes. HCR Intakes[IntakeID] has a one to many relationship with Allegations[IntakeID]. In the table visual, I want to add a column that returns a True/False if the HCR Intake has an ANE Allegation: Allegation[Allegation]=ANE[ANE Allegation].&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 19:14:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4802750#M183714</guid>
      <dc:creator>Txtcher</dc:creator>
      <dc:date>2025-08-20T19:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure for Table Visual that Returns True/False Based on Related table related to 3rd table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4802779#M183716</link>
      <description>&lt;P&gt;I think I figured it out. It took a few steps and I do not know if it is correct, but it worked:&lt;/P&gt;&lt;P&gt;1. Added a calculated column to the Allegations table:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Is ANE = 
    IF(
        RELATED('ANE'[ANE Allegation]) = Allegations[Allegation], 
        "Yes",
        "No"
    )&lt;/LI-CODE&gt;&lt;P&gt;2. Added a calculated column to the HCR Intakes table:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ANE = 
If(
    COUNTROWS(
        FILTER(RELATEDTABLE(Allegations),Allegations[Is ANE] = "Yes"))
        &amp;gt; 0,
        "Yes",
        "No"
    )  &lt;/LI-CODE&gt;&lt;P&gt;If anyone has a better more efficient solution, please share. Otherwise, my method appears to be working.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 20:29:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4802779#M183716</guid>
      <dc:creator>Txtcher</dc:creator>
      <dc:date>2025-08-20T20:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure for Table Visual that Returns True/False Based on Related table related to 3rd table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4803337#M183731</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="740960" data-lia-user-login="Txtcher" class="lia-mention lia-mention-user"&gt;Txtcher&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please try this approach:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Has ANE Allegation :=
VAR CurrentIntake = MAX ( 'HCR Intakes'[IntakeID] )
RETURN
IF (
    CALCULATE (
        COUNTROWS ( 'Allegations' ),
        KEEPFILTERS ( 'Allegations'[IntakeID] = CurrentIntake ),
        TREATAS ( VALUES ( 'ANE'[ANE Allegation] ), 'Allegations'[Allegation] )
    ) &amp;gt; 0,
    TRUE(),
    FALSE()
)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 21 Aug 2025 08:37:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4803337#M183731</guid>
      <dc:creator>Sahir_Maharaj</dc:creator>
      <dc:date>2025-08-21T08:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure for Table Visual that Returns True/False Based on Related table related to 3rd table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4803782#M183736</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="501067" data-lia-user-login="Sahir_Maharaj" class="lia-mention lia-mention-user"&gt;Sahir_Maharaj&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thank you for your response. I tried the measure, but unfortunately when I add it to the visual, I eventually receive an error stating the query has exceeded the available resources.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 13:35:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4803782#M183736</guid>
      <dc:creator>Txtcher</dc:creator>
      <dc:date>2025-08-21T13:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure for Table Visual that Returns True/False Based on Related table related to 3rd table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4803944#M183748</link>
      <description>&lt;P&gt;You could try a measure like&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Has ANE Allegation =
IF ( NOT ISEMPTY ( CALCULATETABLE ( ANE, Allegations ) ), "Yes", "No" )
&lt;/LI-CODE&gt;
&lt;P&gt;This works by using the Allegations table as a filter - the expanded Allegations table will include all columns from the ANE table, and the Allegations table is itself filtered by the Intake ID in your table visual.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 15:44:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4803944#M183748</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-08-21T15:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure for Table Visual that Returns True/False Based on Related table related to 3rd table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4804386#M183771</link>
      <description>&lt;P&gt;Has ANE Allegation =&lt;BR /&gt;IF(&lt;BR /&gt;CALCULATE(&lt;BR /&gt;COUNTROWS(&lt;BR /&gt;FILTER(&lt;BR /&gt;'Allegations',&lt;BR /&gt;'Allegations'[IntakeID] = SELECTEDVALUE('HCR Intakes'[IntakeID]) &amp;amp;&amp;amp;&lt;BR /&gt;'Allegations'[Allegation] IN VALUES('ANE'[ANE Allegation])&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;) &amp;gt; 0,&lt;BR /&gt;TRUE(),&lt;BR /&gt;FALSE()&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 03:41:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4804386#M183771</guid>
      <dc:creator>Shahid12523</dc:creator>
      <dc:date>2025-08-22T03:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: DAX measure for Table Visual that Returns True/False Based on Related table related to 3rd table.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4806794#M183852</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="740960" data-lia-user-login="Txtcher" class="lia-mention lia-mention-user"&gt;Txtcher&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;SPAN data-teams="true"&gt;hope you are doing great. May we know if your issue is solved or if you are still experiencing difficulties. Please share the details as it will help the community, especially others with similar issues.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 11:56:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-measure-for-Table-Visual-that-Returns-True-False-Based-on/m-p/4806794#M183852</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2025-08-25T11:56:09Z</dc:date>
    </item>
  </channel>
</rss>

