<?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 calculate &amp;quot;upsell&amp;quot; for a retail company? in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3587383#M138439</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="661763" data-lia-user-login="MK2023" class="lia-mention lia-mention-user"&gt;MK2023&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sharing a dummy Power BI file representing your scenario would be beneficial. You can save the Power BI file on Google Drive or any other cloud storage platform and provide the link here. Kindly ensure that permission is granted to open the file.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 17 Dec 2023 10:04:14 GMT</pubDate>
    <dc:creator>Fowmy</dc:creator>
    <dc:date>2023-12-17T10:04:14Z</dc:date>
    <item>
      <title>How to calculate "upsell" for a retail company?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3586937#M138389</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I need help writing correct DAX for the measure which calculates upsell amount. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have 10 stores which sell bicycles and e-bicycles and other equipment. The stores are in lookup table "Look_MT" and they are in "Mjesto troška" column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The product groups are in lookup table "Look_Grupe roba i usluga", sorted under "Grupa robe/usluge".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Data about the invoices is stored in "Real_FaktureMP" table, dates, invoice number ("#BrojIRA" column), products, &lt;U&gt;store&lt;/U&gt; (under &lt;U&gt;"Mjesto troška"&lt;/U&gt;) and &lt;U&gt;amounts&lt;/U&gt; (under "&lt;U&gt;$978_MP iznos&lt;/U&gt;")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to calculate for each store, so I can later use the filter. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, need to check for every&lt;U&gt; invoice&lt;/U&gt; (in the table "Real_FaktureMP", under "&lt;U&gt;#BrojIRA&lt;/U&gt;" column) that has sold something from the product group "Bicikli" or "e-Bicikli". If one of two (or both) products from that group are sold on that invoice, I need to sum the rest of the amount in the invoice.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since the stores have same invoice numbers (from 1 to .....), I need to be carefull and check the store AND the invoice to make sure there is no duplicate. I also need to be carefull that sometimes both&amp;nbsp;"Bicikli" and "e-Bicikli" are sold on the same invoice - I need to take into account the rest of the amount only once.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is this clear enough?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The idea would be to motivate the staff to sell more extras to the people who come and buy a bicycle or e-bicycle. I need to find out for every day and every store how much in value that is.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Can any kind soul help? Asked ChatGPT too, no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you ahead,&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 14:55:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3586937#M138389</guid>
      <dc:creator>MK2023</dc:creator>
      <dc:date>2023-12-16T14:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate "upsell" for a retail company?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3587014#M138394</link>
      <description>&lt;P&gt;Pozdrav&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="661763" data-lia-user-login="MK2023" class="lia-mention lia-mention-user"&gt;MK2023&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Napiši na "našem" da vidimo šta se može uraditi &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Osiguraj odgovarajući primjer, idealno u Excel csv sa očekivanim outputom... da brže završimo&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2023 19:20:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3587014#M138394</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-12-16T19:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate "upsell" for a retail company?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3587383#M138439</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="661763" data-lia-user-login="MK2023" class="lia-mention lia-mention-user"&gt;MK2023&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sharing a dummy Power BI file representing your scenario would be beneficial. You can save the Power BI file on Google Drive or any other cloud storage platform and provide the link here. Kindly ensure that permission is granted to open the file.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 10:04:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3587383#M138439</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2023-12-17T10:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate "upsell" for a retail company?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3587419#M138442</link>
      <description>&lt;P&gt;Pozdrav i hvala na javljanju. Primjer očekivanog outputa bi bio - na primjeru jednog dućana ("Mjesto troška") i za jedan određeni datum, zbroj iznosa koji su označeni crvenim. Dakle, ono što je prodano UZ bicikli ili e-bicikl (a to su "Grupe robe/usluge").&lt;/P&gt;&lt;P&gt;Možda je jasnije ako ovako stavim dnevnu situaciju iz pivotice?&lt;/P&gt;&lt;P&gt;Trebam izračunati taj iznos &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;U&gt;$978_MP iznos&lt;/U&gt;&lt;SPAN&gt;"&amp;nbsp;&lt;/SPAN&gt;za svaki dan, odnosno račun "&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;U&gt;#BrojIRA&lt;/U&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;, za svaki dućan posebno, jer se brojevi u dućanima mogu poklapati. Ovdje su to samo računi broj 1475 i 1479 koje treba uzeti u obzir.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello and thank you for your response. An example of the expected output would be - on the example of one store ("Mjesto troška") and for one specific date, the sum of the amounts marked in red. So, what was sold WITH "BICIKLI" or "e-BICIKLI" (which are "Grupa robe/usluge").&lt;/P&gt;&lt;P&gt;Maybe it's clearer if I present the daily situation from the pivot like this?&lt;/P&gt;&lt;P&gt;I need to calculate that amount "$978_MP amount"&amp;nbsp;for each day, that is for every invoice "#BrojIRA", for each store separately, because the numbers in the stores can match.&amp;nbsp;Here it is only invoices 1475 and 1479 to consider.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Hvala &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you ...&lt;/P&gt;</description>
      <pubDate>Sun, 17 Dec 2023 10:54:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3587419#M138442</guid>
      <dc:creator>MK2023</dc:creator>
      <dc:date>2023-12-17T10:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate "upsell" for a retail company?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3588323#M138506</link>
      <description>&lt;P&gt;Hi / Pozdrav &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="661763" data-lia-user-login="MK2023" class="lia-mention lia-mention-user"&gt;MK2023&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We only have pictures, not structure per tables, still&lt;/P&gt;
&lt;P&gt;to calculate "other" items per same invoice, if you have already detailed data for items aka product details, and there info is in table&amp;nbsp;&lt;SPAN&gt;"Grupa robe/usluge", so possible solution in your case could be&lt;BR /&gt;to exclude "BICIKLI" ili "e-BICIKLI", like following measure.&amp;nbsp;"Grupa robe/usluge" should be dimension for items / products&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Meassure non-BICIKLE=&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CALCULATE (&lt;BR /&gt;[YOUR MEASURE for Sales Amount],&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Your table as dimension&amp;nbsp;"Grupa robe/usluge" &amp;lt;&amp;gt;&amp;nbsp;"BICIKLI" ||&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Your table as dimension&amp;nbsp;"Grupa robe/usluge" &amp;lt;&amp;gt; "e-BICIKLI"&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Try and let us know if it is ok.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 07:53:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3588323#M138506</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-12-18T07:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate "upsell" for a retail company?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3590721#M138623</link>
      <description>&lt;P&gt;Thank you for trying to help. That looks like a good start.&lt;/P&gt;&lt;P&gt;However, I do not need to sum ALL the amounts without the groups "BICIKLI" and "e-BICIKLI".&lt;/P&gt;&lt;P&gt;I do need to sum them, but ONLY amounts of the products which were sold on the same invoice where&amp;nbsp;"BICIKLI" and "e-BICIKLI" products were sold as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As in the example I enclosed,&amp;nbsp;&lt;SPAN&gt;only invoices 1475 and 1479 should be taken into account.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In other words, I need to filter somehow only the&amp;nbsp;invoice numbers ("#BrojIRA"),&amp;nbsp; - for each store separately (&lt;U&gt;store&lt;/U&gt;&amp;nbsp;is under&amp;nbsp;&lt;U&gt;"Mjesto troška"&lt;/U&gt;)-, because the numbers in the stores can match, where products for the groups&amp;nbsp;"BICIKLI" and "e-BICIKLI" were also sold, and sum the rest of the amount (without&amp;nbsp;"BICIKLI" and "e-BICIKLI").&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 08:22:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3590721#M138623</guid>
      <dc:creator>MK2023</dc:creator>
      <dc:date>2023-12-19T08:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate "upsell" for a retail company?</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3590978#M138634</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="661763" data-lia-user-login="MK2023" class="lia-mention lia-mention-user"&gt;MK2023&lt;/a&gt;&amp;nbsp;we need you to share file with example and expected output.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 10:10:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-quot-upsell-quot-for-a-retail-company/m-p/3590978#M138634</guid>
      <dc:creator>some_bih</dc:creator>
      <dc:date>2023-12-19T10:10:48Z</dc:date>
    </item>
  </channel>
</rss>

