<?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: How to filter 2 disconnected tables in DAX? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-2-disconnected-tables-in-DAX/m-p/4144698#M164722</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="101059" data-lia-user-login="aymantm" class="lia-mention lia-mention-user"&gt;aymantm&lt;/a&gt;, currect I was using a bridge table but I have 5 to 10 columns that can be filtered out to narrow down our backlog, so it would need to use 10 bridge tables.&lt;BR /&gt;&lt;BR /&gt;I was planning to use TREATAS to filter the columns but not sure if it would work, I will add them as a splicit filter if they applies.&lt;BR /&gt;&lt;BR /&gt;My goal was to find a easier way to not make it explicit but something that can cover the whole table at once.&lt;BR /&gt;&lt;BR /&gt;Hope I am not confusing more than helping.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2024 10:17:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-11T10:17:00Z</dc:date>
    <item>
      <title>How to filter 2 disconnected tables in DAX?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-2-disconnected-tables-in-DAX/m-p/4144513#M164713</link>
      <description>&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MY issue I am having is 2 tables that used to be connected by a key column but it wasnt bringing the real numbers from current data table and the snapshot data table, I dont want to track the key column change, I want to compare total grouped by a category.&lt;BR /&gt;&lt;BR /&gt;So, I decided they should be disconnected and I wanted to replicate the filters applied in the current data table and mirror to the snapshot data table, is there a way to do it?&lt;BR /&gt;&lt;BR /&gt;To make it more clear, my poor decision to do it would be&amp;nbsp;&lt;BR /&gt;CALCUALTE( COUNT [snapshot[data]] ), FILTER ( snapshot, snapshot[Category] = SELECTEDVALEU(current[Category])))&lt;BR /&gt;&lt;BR /&gt;And I would try to replicate it in a measure for all possible filters, but it seems so so poor, pretty sure it must have a easier way to mirror all the possible filters.&lt;BR /&gt;&lt;BR /&gt;Hope it gives a bit of context, thank you very much!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 08:48:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-2-disconnected-tables-in-DAX/m-p/4144513#M164713</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-11T08:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter 2 disconnected tables in DAX?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-2-disconnected-tables-in-DAX/m-p/4144573#M164716</link>
      <description>&lt;P&gt;Hi Gio.&lt;BR /&gt;I do not fully understand the inquiry, but I guess you should try connecting the tables via a bridge table that works as dimension.&lt;BR /&gt;It will be helpful to share the tables structure and the output needed.&lt;BR /&gt;PS: The expression you posted missspelled the "SELECTEDVALUE" function near the end.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 09:16:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-2-disconnected-tables-in-DAX/m-p/4144573#M164716</guid>
      <dc:creator>aymantm</dc:creator>
      <dc:date>2024-09-11T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter 2 disconnected tables in DAX?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-2-disconnected-tables-in-DAX/m-p/4144698#M164722</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="101059" data-lia-user-login="aymantm" class="lia-mention lia-mention-user"&gt;aymantm&lt;/a&gt;, currect I was using a bridge table but I have 5 to 10 columns that can be filtered out to narrow down our backlog, so it would need to use 10 bridge tables.&lt;BR /&gt;&lt;BR /&gt;I was planning to use TREATAS to filter the columns but not sure if it would work, I will add them as a splicit filter if they applies.&lt;BR /&gt;&lt;BR /&gt;My goal was to find a easier way to not make it explicit but something that can cover the whole table at once.&lt;BR /&gt;&lt;BR /&gt;Hope I am not confusing more than helping.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 10:17:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-2-disconnected-tables-in-DAX/m-p/4144698#M164722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-11T10:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter 2 disconnected tables in DAX?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-2-disconnected-tables-in-DAX/m-p/4146681#M164775</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the TREATAS() function to transfers a filter context from a table to another. This function is useful whenever a relationship does not exist, or when it cannot be created because the relationship is not a one-to-many, or because it is defined by two or more columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here for your referece:&lt;BR /&gt;&lt;A href="https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/" target="_blank"&gt;Propagating filters using TREATAS in DAX - SQLBI&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/dax/TREATAS-function-dax" target="_blank"&gt;TREATAS function - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Zhengdong Xu&lt;BR /&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2024 08:24:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-filter-2-disconnected-tables-in-DAX/m-p/4146681#M164775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-12T08:24:12Z</dc:date>
    </item>
  </channel>
</rss>

