<?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 Combining fields to create new table to be used as dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Combining-fields-to-create-new-table-to-be-used-as-dimension/m-p/1744699#M57115</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am struggling to do the below:-&lt;/P&gt;&lt;P&gt;Currently i have below data model used in app:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1600339541325.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/40723iE03177F88B87E719/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1600339541325.png" alt="Aspiring_Developer_0-1600339541325.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My requirement is i want to show "Company_Code_Desc" coming from ORGA table at front end as dimension and i chart i have to use KPI_CODE, NB_KO, NBR_TOTAL coming from fact table in the expression.&lt;/P&gt;&lt;P&gt;Currently due to section access, the user can only see the data for those companies to which he has access. My Requirement is to create a new table comprising the fields "Company_Code_Desc" in a way that user should see the data for all the companies without any restriction of access.&lt;/P&gt;&lt;P&gt;I tired to create a new table in which i can take these fields and link it to the fact table vie "Periode" and removing the "Key_Control" key to remove the section access and renamed the fields like below:-&lt;/P&gt;&lt;P&gt;New_Fact:&lt;BR /&gt;LOAD //_KEY_DIM as Key_Dim,&lt;BR /&gt;_Key_Ratio as Key_Ratio,&lt;BR /&gt;// Periode as NEw_Periode,&lt;BR /&gt;_Key_Control as KEy_Control,&lt;BR /&gt;_KEY_DETAIL as Key_Detail,&lt;BR /&gt;KPI_Code as New_KPI_Code,&lt;BR /&gt;KPI_Code &amp;amp;'-'&amp;amp; Periode &amp;amp;'-'&amp;amp; _KEY_DIM as %New_Key,&lt;BR /&gt;Nbr_KO as Nbr_Ko,&lt;BR /&gt;Nbr_TOTAL as Nbr_Total,&lt;BR /&gt;Total_Amount_KO as New_Total_Amount_KO,&lt;BR /&gt;Special_Amount1 as NEw_Special_Amount1,&lt;BR /&gt;Special_Amount2 as New_Special_Amount2,&lt;BR /&gt;Special_Amount3 as New_Special_Amount3,&lt;BR /&gt;Total_Amount as New_Total_Amount&lt;BR /&gt;FROM ]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;However, it does not work.&lt;/P&gt;&lt;P&gt;Can anyone please tell me how can do this so that user can see the data for all the company codes .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41020"&gt;@asgardd2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Sep 2020 10:56:04 GMT</pubDate>
    <dc:creator>Aspiring_Developer</dc:creator>
    <dc:date>2020-09-17T10:56:04Z</dc:date>
    <item>
      <title>Combining fields to create new table to be used as dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Combining-fields-to-create-new-table-to-be-used-as-dimension/m-p/1744699#M57115</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am struggling to do the below:-&lt;/P&gt;&lt;P&gt;Currently i have below data model used in app:-&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1600339541325.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/40723iE03177F88B87E719/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1600339541325.png" alt="Aspiring_Developer_0-1600339541325.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My requirement is i want to show "Company_Code_Desc" coming from ORGA table at front end as dimension and i chart i have to use KPI_CODE, NB_KO, NBR_TOTAL coming from fact table in the expression.&lt;/P&gt;&lt;P&gt;Currently due to section access, the user can only see the data for those companies to which he has access. My Requirement is to create a new table comprising the fields "Company_Code_Desc" in a way that user should see the data for all the companies without any restriction of access.&lt;/P&gt;&lt;P&gt;I tired to create a new table in which i can take these fields and link it to the fact table vie "Periode" and removing the "Key_Control" key to remove the section access and renamed the fields like below:-&lt;/P&gt;&lt;P&gt;New_Fact:&lt;BR /&gt;LOAD //_KEY_DIM as Key_Dim,&lt;BR /&gt;_Key_Ratio as Key_Ratio,&lt;BR /&gt;// Periode as NEw_Periode,&lt;BR /&gt;_Key_Control as KEy_Control,&lt;BR /&gt;_KEY_DETAIL as Key_Detail,&lt;BR /&gt;KPI_Code as New_KPI_Code,&lt;BR /&gt;KPI_Code &amp;amp;'-'&amp;amp; Periode &amp;amp;'-'&amp;amp; _KEY_DIM as %New_Key,&lt;BR /&gt;Nbr_KO as Nbr_Ko,&lt;BR /&gt;Nbr_TOTAL as Nbr_Total,&lt;BR /&gt;Total_Amount_KO as New_Total_Amount_KO,&lt;BR /&gt;Special_Amount1 as NEw_Special_Amount1,&lt;BR /&gt;Special_Amount2 as New_Special_Amount2,&lt;BR /&gt;Special_Amount3 as New_Special_Amount3,&lt;BR /&gt;Total_Amount as New_Total_Amount&lt;BR /&gt;FROM ]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;However, it does not work.&lt;/P&gt;&lt;P&gt;Can anyone please tell me how can do this so that user can see the data for all the company codes .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/41020"&gt;@asgardd2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 10:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Combining-fields-to-create-new-table-to-be-used-as-dimension/m-p/1744699#M57115</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2020-09-17T10:56:04Z</dc:date>
    </item>
  </channel>
</rss>

