<?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 why security change my data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/why-security-change-my-data/m-p/1620378#M46177</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a data model that combined daily data and trend data (the same data but collected over time as snapshot).&lt;/P&gt;&lt;P&gt;when im loading the data model it's showing the correct data.&lt;/P&gt;&lt;P&gt;but, when i add the security part, it's showing wrong numbers.&lt;/P&gt;&lt;P&gt;i dont find the reason for that (i thought its because the field "SITE_DESCRIPTION" in the key, so i pull him out of the key but still the data is wrong.&lt;/P&gt;&lt;P&gt;this is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//----------------------Security----------------------//&lt;/P&gt;&lt;P&gt;[QlikSecurity]:&lt;BR /&gt;LOAD 'CODE1\'&amp;amp;GROUP_MEMBER_ID as USERID,&lt;BR /&gt;ACCESS_TYPE as ACCESS,&lt;BR /&gt;ACCESIBLE_SITE_CODE as SITE_CODE;&lt;BR /&gt;SELECT "GROUP_MEMBER_ID",&lt;BR /&gt;"ACCESS_TYPE",&lt;BR /&gt;"ACCESIBLE_SITE_CODE"&lt;BR /&gt;FROM ADM.scr."USER_PERMISSIONS";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Section Access;&lt;BR /&gt;load ACCESS,USERID&lt;BR /&gt;resident [QlikSecurity];&lt;/P&gt;&lt;P&gt;Section Application;&lt;BR /&gt;STAR IS *;&lt;BR /&gt;load USERID,SITE_CODE&lt;BR /&gt;resident [QlikSecurity];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;drop table [QlikSecurity];&lt;/P&gt;&lt;P&gt;//----------------------End Security----------------------//&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[DAILY_MANAGEMENT]:&lt;BR /&gt;LOAD BUSINESS_GROUP&amp;amp;BUSINESS_SECTION&amp;amp;BUSINESS_UNIT&amp;amp;PROCESS_OWNER&amp;amp;PRODUCT_FAMILY&amp;amp;ASSEMBLY_TYPE&amp;amp;ACTIVE_BOM_ITEM&amp;amp;Vendor_Full_Name&amp;amp;VENDOR_TYPE&amp;amp;RECORD_TYPE&amp;amp;SIMPLIFIED_PROCESS_STATUS_NAME&amp;amp;PROCESS_ON_TRACK&amp;amp;IMPLEMENTATION_INDICATOR&amp;amp;[KPI Rescheduling Status] as key,&lt;BR /&gt;RECORD_ID,&lt;BR /&gt;Item_Full_ID,&lt;BR /&gt;header_id,&lt;BR /&gt;item_id,&lt;BR /&gt;SAP_OBJECT_TYPE,&lt;BR /&gt;RECORD_TYPE,&lt;BR /&gt;SAP_Order_Type,&lt;BR /&gt;SITE_CODE,&lt;BR /&gt;If(IsNull(SITE_DESCRIPTION),'No Site',SITE_DESCRIPTION) as SITE_DESCRIPTION,&lt;BR /&gt;plant_code,&lt;BR /&gt;Plant_Full_Name,&lt;BR /&gt;Storage_Location_Code,&lt;BR /&gt;Storage_Location_Full_Name;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT "RECORD_ID",&lt;BR /&gt;"Item_Full_ID",&lt;BR /&gt;"header_id",&lt;BR /&gt;"item_id",&lt;BR /&gt;"SAP_OBJECT_TYPE",&lt;BR /&gt;"RECORD_TYPE",&lt;BR /&gt;"SAP_Order_Type",&lt;BR /&gt;"SITE_CODE",&lt;BR /&gt;"SITE_DESCRIPTION",&lt;BR /&gt;"plant_code",&lt;BR /&gt;"Plant_Full_Name",&lt;BR /&gt;"Storage_Location_Code",&lt;BR /&gt;"Storage_Location_Full_Name"&lt;BR /&gt;FROM VWS."prc_bsc_pkg"."DAILY_MANAGEMENT";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;BUSINESS_GROUP&amp;amp;BUSINESS_SECTION&amp;amp;BUSINESS_UNIT&amp;amp;PROCESS_OWNER&amp;amp;PRODUCT_FAMILY&amp;amp;ASSEMBLY_TYPE&amp;amp;ACTIVE_BOM_ITEM&amp;amp;Vendor_Full_Name&amp;amp;VENDOR_TYPE&amp;amp;RECORD_TYPE&amp;amp;SIMPLIFIED_PROCESS_STATUS_NAME&amp;amp;PROCESS_ON_TRACK&amp;amp;IMPLEMENTATION_INDICATOR&amp;amp;[KPI Rescheduling Status] as key,&lt;BR /&gt;PO_Value AS Trend_PO_Value,&lt;BR /&gt;Material_Value AS Trend_Material_Value,&lt;BR /&gt;Line_Count AS Trend_Line_Count,&lt;BR /&gt;KPI_STATUS as Trend_KPI_STATUS,&lt;BR /&gt;SITE_DESCRIPTION as Trend_Site_Description,&lt;BR /&gt;YEAR_WEEK&lt;BR /&gt;FROM [lib://daily_management_trend.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have any clue what could be the problem?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2019 06:39:15 GMT</pubDate>
    <dc:creator>bababalush</dc:creator>
    <dc:date>2019-09-05T06:39:15Z</dc:date>
    <item>
      <title>why security change my data</title>
      <link>https://community.qlik.com/t5/App-Development/why-security-change-my-data/m-p/1620378#M46177</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a data model that combined daily data and trend data (the same data but collected over time as snapshot).&lt;/P&gt;&lt;P&gt;when im loading the data model it's showing the correct data.&lt;/P&gt;&lt;P&gt;but, when i add the security part, it's showing wrong numbers.&lt;/P&gt;&lt;P&gt;i dont find the reason for that (i thought its because the field "SITE_DESCRIPTION" in the key, so i pull him out of the key but still the data is wrong.&lt;/P&gt;&lt;P&gt;this is the code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//----------------------Security----------------------//&lt;/P&gt;&lt;P&gt;[QlikSecurity]:&lt;BR /&gt;LOAD 'CODE1\'&amp;amp;GROUP_MEMBER_ID as USERID,&lt;BR /&gt;ACCESS_TYPE as ACCESS,&lt;BR /&gt;ACCESIBLE_SITE_CODE as SITE_CODE;&lt;BR /&gt;SELECT "GROUP_MEMBER_ID",&lt;BR /&gt;"ACCESS_TYPE",&lt;BR /&gt;"ACCESIBLE_SITE_CODE"&lt;BR /&gt;FROM ADM.scr."USER_PERMISSIONS";&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Section Access;&lt;BR /&gt;load ACCESS,USERID&lt;BR /&gt;resident [QlikSecurity];&lt;/P&gt;&lt;P&gt;Section Application;&lt;BR /&gt;STAR IS *;&lt;BR /&gt;load USERID,SITE_CODE&lt;BR /&gt;resident [QlikSecurity];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;drop table [QlikSecurity];&lt;/P&gt;&lt;P&gt;//----------------------End Security----------------------//&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[DAILY_MANAGEMENT]:&lt;BR /&gt;LOAD BUSINESS_GROUP&amp;amp;BUSINESS_SECTION&amp;amp;BUSINESS_UNIT&amp;amp;PROCESS_OWNER&amp;amp;PRODUCT_FAMILY&amp;amp;ASSEMBLY_TYPE&amp;amp;ACTIVE_BOM_ITEM&amp;amp;Vendor_Full_Name&amp;amp;VENDOR_TYPE&amp;amp;RECORD_TYPE&amp;amp;SIMPLIFIED_PROCESS_STATUS_NAME&amp;amp;PROCESS_ON_TRACK&amp;amp;IMPLEMENTATION_INDICATOR&amp;amp;[KPI Rescheduling Status] as key,&lt;BR /&gt;RECORD_ID,&lt;BR /&gt;Item_Full_ID,&lt;BR /&gt;header_id,&lt;BR /&gt;item_id,&lt;BR /&gt;SAP_OBJECT_TYPE,&lt;BR /&gt;RECORD_TYPE,&lt;BR /&gt;SAP_Order_Type,&lt;BR /&gt;SITE_CODE,&lt;BR /&gt;If(IsNull(SITE_DESCRIPTION),'No Site',SITE_DESCRIPTION) as SITE_DESCRIPTION,&lt;BR /&gt;plant_code,&lt;BR /&gt;Plant_Full_Name,&lt;BR /&gt;Storage_Location_Code,&lt;BR /&gt;Storage_Location_Full_Name;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SELECT "RECORD_ID",&lt;BR /&gt;"Item_Full_ID",&lt;BR /&gt;"header_id",&lt;BR /&gt;"item_id",&lt;BR /&gt;"SAP_OBJECT_TYPE",&lt;BR /&gt;"RECORD_TYPE",&lt;BR /&gt;"SAP_Order_Type",&lt;BR /&gt;"SITE_CODE",&lt;BR /&gt;"SITE_DESCRIPTION",&lt;BR /&gt;"plant_code",&lt;BR /&gt;"Plant_Full_Name",&lt;BR /&gt;"Storage_Location_Code",&lt;BR /&gt;"Storage_Location_Full_Name"&lt;BR /&gt;FROM VWS."prc_bsc_pkg"."DAILY_MANAGEMENT";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;BUSINESS_GROUP&amp;amp;BUSINESS_SECTION&amp;amp;BUSINESS_UNIT&amp;amp;PROCESS_OWNER&amp;amp;PRODUCT_FAMILY&amp;amp;ASSEMBLY_TYPE&amp;amp;ACTIVE_BOM_ITEM&amp;amp;Vendor_Full_Name&amp;amp;VENDOR_TYPE&amp;amp;RECORD_TYPE&amp;amp;SIMPLIFIED_PROCESS_STATUS_NAME&amp;amp;PROCESS_ON_TRACK&amp;amp;IMPLEMENTATION_INDICATOR&amp;amp;[KPI Rescheduling Status] as key,&lt;BR /&gt;PO_Value AS Trend_PO_Value,&lt;BR /&gt;Material_Value AS Trend_Material_Value,&lt;BR /&gt;Line_Count AS Trend_Line_Count,&lt;BR /&gt;KPI_STATUS as Trend_KPI_STATUS,&lt;BR /&gt;SITE_DESCRIPTION as Trend_Site_Description,&lt;BR /&gt;YEAR_WEEK&lt;BR /&gt;FROM [lib://daily_management_trend.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have any clue what could be the problem?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 06:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/why-security-change-my-data/m-p/1620378#M46177</guid>
      <dc:creator>bababalush</dc:creator>
      <dc:date>2019-09-05T06:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: why security change my data</title>
      <link>https://community.qlik.com/t5/App-Development/why-security-change-my-data/m-p/1623916#M46464</link>
      <description>&lt;P&gt;Somebody?&lt;/P&gt;</description>
      <pubDate>Sat, 14 Sep 2019 18:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/why-security-change-my-data/m-p/1623916#M46464</guid>
      <dc:creator>bababalush</dc:creator>
      <dc:date>2019-09-14T18:00:08Z</dc:date>
    </item>
  </channel>
</rss>

