<?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: Trying to link offers to orders without direct relationship in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-link-offers-to-orders-without-direct-relationship/m-p/3173035#M114464</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that was my mistake. Order and offer Names are not related and can be anything typed in by a user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 06:22:11 GMT</pubDate>
    <dc:creator>R__J</dc:creator>
    <dc:date>2023-04-05T06:22:11Z</dc:date>
    <item>
      <title>Trying to link offers to orders without direct relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-link-offers-to-orders-without-direct-relationship/m-p/3169841#M114220</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am not able to find an answer on the following problem i am facing.&lt;/P&gt;&lt;P&gt;The model has a customer table, offer table, offer items and quantity table&lt;BR /&gt;Then i also have an order table with an items and quantity table.&lt;/P&gt;&lt;P&gt;Offer is linked to customer and so is the order. Offer item is linked to offer and order item is linked to order.&lt;/P&gt;&lt;P&gt;There is no link between order and offer, a customer can make one order combining multiple offers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What i try to achieve is per customer to check the offers&lt;/P&gt;&lt;P&gt;During this check i need to check per item the amount that was offered and compare this to orders made by the same customer.&lt;/P&gt;&lt;P&gt;So all offered items combined and compare to all ordered items combine for this customer (could be a positive or negative delta).&lt;/P&gt;&lt;P&gt;The outcome should&amp;nbsp; be a Order equal offer Order not equal offer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;There is no option to link orders and offers directly then via customer. Solution can be a calculated column to any of the tables or a dax measure&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below should give a Customer 1 All Ordered, Customer 2 not all ordered&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My setup is the following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with all Offers with a related table of all individual items of the offer.&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Offernumber&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Offer name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Customer number&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C1-1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Name1&lt;/TD&gt;&lt;TD&gt;Customer1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C1-2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Name2&lt;/TD&gt;&lt;TD&gt;Customer1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C1-3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Name3&lt;/TD&gt;&lt;TD&gt;Customer1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C2-1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Name 4&lt;/TD&gt;&lt;TD&gt;Customer2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&l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item2&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the order part is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Order number&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Order name&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Customer number&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C1-O1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Name1&lt;/TD&gt;&lt;TD&gt;Customer1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C1-O2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Name2&lt;/TD&gt;&lt;TD&gt;Customer1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C2-O1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Name2&lt;/TD&gt;&lt;TD&gt;Customer2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Ordernumber&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Item&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;C1-O1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Item1&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C1-O1&lt;/TD&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C1-O2&lt;/TD&gt;&lt;TD&gt;Item3&lt;/TD&gt;&lt;TD&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C1-O3&lt;/TD&gt;&lt;TD&gt;Item1&lt;/TD&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C2-O1&lt;/TD&gt;&lt;TD&gt;Item2&lt;/TD&gt;&lt;TD&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;RJ&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 15:34:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-link-offers-to-orders-without-direct-relationship/m-p/3169841#M114220</guid>
      <dc:creator>R__J</dc:creator>
      <dc:date>2023-04-03T15:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to link offers to orders without direct relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-link-offers-to-orders-without-direct-relationship/m-p/3172707#M114428</link>
      <description>&lt;P&gt;Is the offer name correlated to the order name?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 00:00:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-link-offers-to-orders-without-direct-relationship/m-p/3172707#M114428</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-04-05T00:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to link offers to orders without direct relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-link-offers-to-orders-without-direct-relationship/m-p/3173035#M114464</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that was my mistake. Order and offer Names are not related and can be anything typed in by a user&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 06:22:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-link-offers-to-orders-without-direct-relationship/m-p/3173035#M114464</guid>
      <dc:creator>R__J</dc:creator>
      <dc:date>2023-04-05T06:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to link offers to orders without direct relationship</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-link-offers-to-orders-without-direct-relationship/m-p/3173665#M114486</link>
      <description>&lt;P&gt;Does your real data contain timestamps? Are you trying to show this by a certain period?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 11:29:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Trying-to-link-offers-to-orders-without-direct-relationship/m-p/3173665#M114486</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-04-05T11:29:56Z</dc:date>
    </item>
  </channel>
</rss>

