<?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 Reference or Calculate from unrelated dimension table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-or-Calculate-from-unrelated-dimension-table/m-p/3520179#M135217</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I need to reference the number of days from a calendar table to a measure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data model looks like this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Data is like this&lt;/P&gt;&lt;P&gt;Employee:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Employee&lt;/TD&gt;&lt;TD&gt;TeamID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GHI&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;JKL&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Teams&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TeamID&lt;/TD&gt;&lt;TD&gt;Team Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Team A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Team B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Calendar - standard calendar table&lt;BR /&gt;&lt;BR /&gt;The visual is like this&lt;BR /&gt;&lt;img /&gt;The value in the Matrix is a simple day count, and the matrix table is ignoring the "Team Name" slicer.&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;LI-CODE lang="markup"&gt;DayCount = CALCULATE(COUNTA('Calendar'[Date]))&lt;/LI-CODE&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&gt;I simplified it a bit but was really looking to reference the Calendar table for further calculations.&lt;BR /&gt;&lt;BR /&gt;I understand that since the employee table and calendar table have no direct relation, it is repeating the values. But, is it possible to filter using the selected values from the Team slicer going to the matrix? So, the matrix would only show, Employees from Team A, or whichever is selected from the Team Name Slicer&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Tue, 07 Nov 2023 14:52:18 GMT</pubDate>
    <dc:creator>jnoel100</dc:creator>
    <dc:date>2023-11-07T14:52:18Z</dc:date>
    <item>
      <title>Reference or Calculate from unrelated dimension table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-or-Calculate-from-unrelated-dimension-table/m-p/3520179#M135217</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I need to reference the number of days from a calendar table to a measure.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data model looks like this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Data is like this&lt;/P&gt;&lt;P&gt;Employee:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Employee&lt;/TD&gt;&lt;TD&gt;TeamID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;ABC&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DEF&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;GHI&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;JKL&lt;/TD&gt;&lt;TD&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Teams&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;TeamID&lt;/TD&gt;&lt;TD&gt;Team Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;Team A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;Team B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;Calendar - standard calendar table&lt;BR /&gt;&lt;BR /&gt;The visual is like this&lt;BR /&gt;&lt;img /&gt;The value in the Matrix is a simple day count, and the matrix table is ignoring the "Team Name" slicer.&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;LI-CODE lang="markup"&gt;DayCount = CALCULATE(COUNTA('Calendar'[Date]))&lt;/LI-CODE&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&gt;I simplified it a bit but was really looking to reference the Calendar table for further calculations.&lt;BR /&gt;&lt;BR /&gt;I understand that since the employee table and calendar table have no direct relation, it is repeating the values. But, is it possible to filter using the selected values from the Team slicer going to the matrix? So, the matrix would only show, Employees from Team A, or whichever is selected from the Team Name Slicer&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 14:52:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-or-Calculate-from-unrelated-dimension-table/m-p/3520179#M135217</guid>
      <dc:creator>jnoel100</dc:creator>
      <dc:date>2023-11-07T14:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reference or Calculate from unrelated dimension table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-or-Calculate-from-unrelated-dimension-table/m-p/3520235#M135221</link>
      <description>&lt;LI-CODE lang="markup"&gt;= IF( NOT ISEMPTY( EMPLOYEE ), COUNTROWS( 'Calendar' ) )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 07 Nov 2023 15:20:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-or-Calculate-from-unrelated-dimension-table/m-p/3520235#M135221</guid>
      <dc:creator>ThxAlot</dc:creator>
      <dc:date>2023-11-07T15:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reference or Calculate from unrelated dimension table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-or-Calculate-from-unrelated-dimension-table/m-p/3521200#M135257</link>
      <description>&lt;P&gt;Thank you that worked!&amp;nbsp; It took me almost a whole day, searching and figuring out solutions,&amp;nbsp;It looks so simple in hindsight.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 02:56:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Reference-or-Calculate-from-unrelated-dimension-table/m-p/3521200#M135257</guid>
      <dc:creator>jnoel100</dc:creator>
      <dc:date>2023-11-08T02:56:48Z</dc:date>
    </item>
  </channel>
</rss>

