<?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: Regarding QlikSense Category Total script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Regarding-QlikSense-Category-Total-script/m-p/2105707#M90292</link>
    <description>&lt;P&gt;from what i understand you want merchant to have access to all stores with the categories that the mechant has access to.&amp;nbsp; in this case merchant 1 should really have access to S1 and S2 stores.&lt;BR /&gt;&lt;BR /&gt;the section access logic then is wrong.&amp;nbsp; your section access table should include only merchant and category&lt;/P&gt;
&lt;P&gt;category, store and category sales should be in a separate table.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 19:15:44 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2023-08-14T19:15:44Z</dc:date>
    <item>
      <title>Regarding QlikSense Category Total script</title>
      <link>https://community.qlik.com/t5/App-Development/Regarding-QlikSense-Category-Total-script/m-p/2105603#M90289</link>
      <description>&lt;P&gt;Hello Friends, Appreciate your time! Please let me know your feedback on the scenario below.&lt;/P&gt;
&lt;P&gt;I have a merchant fact table with merchant sales, category and stores connected to category table by category_id&amp;amp;store_id.&lt;/P&gt;
&lt;P&gt;The category table has category sales grouped by category and stores. I have a requirement to get the category sales irrespective of the merchant sales for a specific merchant category.&lt;/P&gt;
&lt;P&gt;for eg,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;merchant_table:&lt;/P&gt;
&lt;P&gt;merchant,category_id,stores_id,sales,&lt;/P&gt;
&lt;P&gt;merchant1,C25, S1,100&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;category_table:&lt;/P&gt;
&lt;P&gt;category_id,store_id,category_sales&lt;/P&gt;
&lt;P&gt;C25,S1,100&lt;/P&gt;
&lt;P&gt;C25,S2,150&lt;/P&gt;
&lt;P&gt;Since the section access is based on merchant, when a merchant logs in the category total is not getting the stores which is not a part of a specific merchant.&lt;/P&gt;
&lt;P&gt;In this case the category sales 150 is not getting added to the category C25 total since merchant1 is not part of Store S2.&lt;/P&gt;
&lt;P&gt;I tried to concatenate a dummy key for eg&lt;/P&gt;
&lt;P&gt;concatenate(merchant_table)&lt;/P&gt;
&lt;P&gt;load distinct vendor,c25&amp;amp;S2 as key&lt;/P&gt;
&lt;P&gt;resident merchantfact;&lt;/P&gt;
&lt;P&gt;But I need to find a way to concatenate only the stores they are not part of otherwise it will get duplicate&lt;/P&gt;
&lt;P&gt;Kindly let me know your thoughts.,&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 15:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Regarding-QlikSense-Category-Total-script/m-p/2105603#M90289</guid>
      <dc:creator>SK111</dc:creator>
      <dc:date>2023-08-14T15:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding QlikSense Category Total script</title>
      <link>https://community.qlik.com/t5/App-Development/Regarding-QlikSense-Category-Total-script/m-p/2105707#M90292</link>
      <description>&lt;P&gt;from what i understand you want merchant to have access to all stores with the categories that the mechant has access to.&amp;nbsp; in this case merchant 1 should really have access to S1 and S2 stores.&lt;BR /&gt;&lt;BR /&gt;the section access logic then is wrong.&amp;nbsp; your section access table should include only merchant and category&lt;/P&gt;
&lt;P&gt;category, store and category sales should be in a separate table.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 19:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Regarding-QlikSense-Category-Total-script/m-p/2105707#M90292</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2023-08-14T19:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding QlikSense Category Total script</title>
      <link>https://community.qlik.com/t5/App-Development/Regarding-QlikSense-Category-Total-script/m-p/2106035#M90311</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for your reply. the merchant is ok. what I am looking for is to get the category share. In this case when a merchant logs in&amp;nbsp; the app reduce to category for only store S1.&lt;/P&gt;
&lt;P&gt;I got to calculate merchant share vs category share. To get&amp;nbsp;category share, I need all the stores which sells that category.&lt;/P&gt;
&lt;P&gt;thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 20:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Regarding-QlikSense-Category-Total-script/m-p/2106035#M90311</guid>
      <dc:creator>SK111</dc:creator>
      <dc:date>2023-08-15T20:30:21Z</dc:date>
    </item>
  </channel>
</rss>

