<?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 Help with Crossfiltering across multiple tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Crossfiltering-across-multiple-tables/m-p/3255759#M120236</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a fact table of forecasted sales orders and a table of part numbers with corresponding production rates. I would like to calculate the amount of total production hours needed per month by multiplying the forecasted sales amount by the part work rate. Unfornunately I am not able to achieve this without setting all my relationships to bidirectional, which will not be useful going forward as I would like to add in additional tables and info for drilling down, etc.&lt;BR /&gt;&lt;BR /&gt;I am attempting to use measures with CROSS FILTER, but I am not very knowledable with it. How would I get the cross filter to go across multiple tables?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex: only between two tables.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ForecastedBacklog = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Backlog_Units_Total]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CROSSFILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DateDimension&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;SalesOrder_Backlog&lt;/SPAN&gt;&lt;SPAN&gt;[SchedDate]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;BOTH&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Ideal output (MonthYear col is from the date dimension table):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Relationships:&lt;BR /&gt;DateDimension -&amp;gt; SalesOrder_Backlog by Date to SchedDate&lt;/P&gt;&lt;P&gt;SalesOrder_Backlog -&amp;gt;PartTable by PartId&lt;/P&gt;&lt;P&gt;PartTable -&amp;gt;PartWorkRate by PartId&lt;BR /&gt;PartWorkRate -&amp;gt; Workcenter by Workcenter Id&amp;nbsp;&lt;/P&gt;&lt;P&gt;WorkCenter -&amp;gt; Line by an index that I derive from a lookup table.&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 16:43:13 GMT</pubDate>
    <dc:creator>larbpup</dc:creator>
    <dc:date>2023-05-26T16:43:13Z</dc:date>
    <item>
      <title>Help with Crossfiltering across multiple tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Crossfiltering-across-multiple-tables/m-p/3255759#M120236</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a fact table of forecasted sales orders and a table of part numbers with corresponding production rates. I would like to calculate the amount of total production hours needed per month by multiplying the forecasted sales amount by the part work rate. Unfornunately I am not able to achieve this without setting all my relationships to bidirectional, which will not be useful going forward as I would like to add in additional tables and info for drilling down, etc.&lt;BR /&gt;&lt;BR /&gt;I am attempting to use measures with CROSS FILTER, but I am not very knowledable with it. How would I get the cross filter to go across multiple tables?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex: only between two tables.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ForecastedBacklog = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Backlog_Units_Total]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;CROSSFILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;DateDimension&lt;/SPAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;SalesOrder_Backlog&lt;/SPAN&gt;&lt;SPAN&gt;[SchedDate]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;BOTH&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Ideal output (MonthYear col is from the date dimension table):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Relationships:&lt;BR /&gt;DateDimension -&amp;gt; SalesOrder_Backlog by Date to SchedDate&lt;/P&gt;&lt;P&gt;SalesOrder_Backlog -&amp;gt;PartTable by PartId&lt;/P&gt;&lt;P&gt;PartTable -&amp;gt;PartWorkRate by PartId&lt;BR /&gt;PartWorkRate -&amp;gt; Workcenter by Workcenter Id&amp;nbsp;&lt;/P&gt;&lt;P&gt;WorkCenter -&amp;gt; Line by an index that I derive from a lookup table.&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 16:43:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Crossfiltering-across-multiple-tables/m-p/3255759#M120236</guid>
      <dc:creator>larbpup</dc:creator>
      <dc:date>2023-05-26T16:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Crossfiltering across multiple tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Crossfiltering-across-multiple-tables/m-p/3257899#M120375</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="219077" data-lia-user-login="larbpup" class="lia-mention lia-mention-user"&gt;larbpup&lt;/a&gt;&amp;nbsp;I personally do not use bidirectioanal relationship as ambigious result could emerge, I rather rework model if possible. Still, with my little knowledge of this area, could you please check part&amp;nbsp;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;BOTH&lt;/SPAN&gt;&lt;SPAN&gt;)) in your crossfilter function. Maybe this could help in debuging your wanted output, give a try to change this part.&amp;nbsp; Great link for crossfilter is below, with other usefull link&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dax.guide/crossfilter/" target="_self"&gt;https://dax.guide/crossfilter/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2023 11:43:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-Crossfiltering-across-multiple-tables/m-p/3257899#M120375</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-05-29T11:43:59Z</dc:date>
    </item>
  </channel>
</rss>

