<?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: Applying constant variable from unrelated table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-constant-variable-from-unrelated-table/m-p/1747910#M36360</link>
    <description>&lt;P&gt;hey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can create a measure that sum the delivery days and us the userrelantionship funtion to activate a relantionship between those 2 unrelated table for this dax example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;calculate(sum(table vendor[delivery days]),&lt;SPAN class="hljs-built_in"&gt;USERELATIONSHIP&lt;/SPAN&gt;&lt;SPAN&gt;(table vendor[suplier],table product[supplier index])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if this was of help give some kudos, if solved you question mark as solution for others to find.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Mar 2021 11:25:32 GMT</pubDate>
    <dc:creator>StefanoGrimaldi</dc:creator>
    <dc:date>2021-03-26T11:25:32Z</dc:date>
    <item>
      <title>Applying constant variable from unrelated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-constant-variable-from-unrelated-table/m-p/1747589#M36351</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I have the following issue:&lt;/P&gt;&lt;P&gt;There are two not directly retalted lookup tables - "Vendors" and "Goods". They are related through the data table "Operations".&lt;BR /&gt;Each vendor has its own delivery days field. I'm trying to use/apply these field for the relevant/related (through operations table) goods as well. ..And I fail &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the sample visualition of the issue:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;In another words I would like to create a dax measure calculating "delivery days" for each product related to the supplier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&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&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 09:46:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-constant-variable-from-unrelated-table/m-p/1747589#M36351</guid>
      <dc:creator>George1973</dc:creator>
      <dc:date>2021-03-26T09:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Applying constant variable from unrelated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-constant-variable-from-unrelated-table/m-p/1747910#M36360</link>
      <description>&lt;P&gt;hey,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can create a measure that sum the delivery days and us the userrelantionship funtion to activate a relantionship between those 2 unrelated table for this dax example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;calculate(sum(table vendor[delivery days]),&lt;SPAN class="hljs-built_in"&gt;USERELATIONSHIP&lt;/SPAN&gt;&lt;SPAN&gt;(table vendor[suplier],table product[supplier index])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if this was of help give some kudos, if solved you question mark as solution for others to find.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 11:25:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-constant-variable-from-unrelated-table/m-p/1747910#M36360</guid>
      <dc:creator>StefanoGrimaldi</dc:creator>
      <dc:date>2021-03-26T11:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Applying constant variable from unrelated table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-constant-variable-from-unrelated-table/m-p/1748767#M36383</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the feedback.&amp;nbsp; That formula might work if I had supplier index in product table, but I have not, that's why the field is gray assuming how I want to assign the result by the suppliers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As described - The only relation we have between those two vendors and products table is "Operations" data table with it Operation_ID.&lt;BR /&gt;&lt;BR /&gt;The slicers and page filters work perfectly when using those two tables and measures from binare related data tables, like in the picture below:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;(The products are filtered based on the selected vendor from the right table).&lt;BR /&gt;&lt;BR /&gt;But when I try to assign "delivery days" from vendors to products directly, it does not work, even with your suggested formula:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;(Here we have the total sales dissapiared and "correct" delivery days, from ALL product list, without filter)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Mar 2021 17:30:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-constant-variable-from-unrelated-table/m-p/1748767#M36383</guid>
      <dc:creator>George1973</dc:creator>
      <dc:date>2021-03-26T17:30:30Z</dc:date>
    </item>
  </channel>
</rss>

