Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 218,461 members
  • 7,151 online
  • 1,996,829 posts
  • 149,692 Solutions
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Welcome to Qlik Community

Recent Discussions

  • forum

    Qlik Enterprise Manager

    Trying to connect to MS Sql Server 2022 Standard version

    Tried to upgrade Qlik enterprise manager to 2023.5, but still getting the same error SYS-E-HTTPFAIL, Unsupported server/database version: 0. SYS,GENE... Show More

    Tried to upgrade Qlik enterprise manager to 2023.5, but still getting the same error

    • SYS-E-HTTPFAIL, Unsupported server/database version: 0.
    • SYS,GENERAL_EXCEPTION,Unsupported server/database version: 0

      no issue with the source, able to telnet source and able to login the database using the same username and password
    Show Less
  • forum

    App Development

    need to distinct sum of volume for each ticket

    i have tktcode, material and volume, sales, material, i need to sum of distinct volume for each ticket. for same tktcode i have several rows are there... Show More

    i have tktcode, material and volume, sales, material, i need to sum of distinct volume for each ticket.

    for same tktcode i have several rows are there because material is different , but volume and sales willl be same for each tktcode.

    if sum(volume), if will sum of all volume is 80, idealy it should be, volume should 35 ,. , now i need to write to take sum of distinct volume for each ticketcode, if two tktcodes have same volume, it should consider both volumes because tktcodes are different ,. kindly help me to to get sum of distict volume for each tktcode. i need that in kpi. 

    if i use sum( distinct volume), if will neglect volume if two different tktcode have same volume.

    the formula it should interact with filters like some one slected some tkt codes, the formula should  according to filter selction. it's very urgent kindly help me

     

    tktcode Material Volume Sales materialcost
    1 a 10 20 10
    1 b 10 20 20
    1 c 10 20 30
    2 d 10 30 30
    2 a 10 30 20
    3 e 15 30 23
    3 b 15 30 21
    Show Less
  • forum

    New to Qlik Analytics

    2 Triggers for a task

    Hi Everyone, I have a requirement to schedule a task on 15th of every month after the dependent tasks are executed . In this example, 2 triggers are t... Show More

    Hi Everyone,

    I have a requirement to schedule a task on 15th of every month after the dependent tasks are executed . In this example, 2 triggers are to be created :

    1. Trigger - Task Event : on successful of dependent tasks

    2. Trigger - Schedule Event : 15 th of every month : But here the start time has to be linked to the previous trigger . 

    How does the triggers in reload task work ? Is there a way to include AND condition between the triggers ?

    Regards,

    Malar

    Show Less
  • forum

    App Development

    Calculation wave - challenge

    Hi In case some of you smart guys out there have a solution to this.  I am trying to build an app where I try to move cost of a team over to the teams... Show More

    Hi

    In case some of you smart guys out there have a solution to this. 

    I am trying to build an app where I try to move cost of a team over to the teams they support, so ultimately the teams supporting customer/market knows the real cost of their underlying structure. 

    The challenge here is that the cost to distribute is based on the consumption cost from underlying teams, so the answer from one calculation is input to the next.

    It works well in Excel, however with a risk of creating loops, because there calculation is done one by one. I'm not sure if this is possible to do in Qlik since I guess the modelling needs to eliminate loops/shortcuts, but since there are a many clever heads out there, and many things I still don't know about Qlik, I share it with you. 

    Team initial cost: 
    Team 1	 1.000.000,00 
    Team 2	 1.000.000,00 
    Team 3	 1.000.000,00 
    Team 4	 1.000.000,00 
    Team 5	 1.000.000,00 
    Team 6	 1.000.000,00 
    

    This cost is then distributed to the other teams by a defined share

    Provider	Load share	To supported team
    Team 1	30 %	Team 2
    Team 1	70 %	Team 3
    Team 2	80 %	Team 3
    Team 2	20 %	Team 4
    Team 3	80 %	Team 5
    Team 3	20 %	Team 6
    Team 4	70 %	Team 5
    Team 4	30 %	Team 6

    Which ends up in the following end result

    Team Initial cost Consumption cost Total cost Distributed cost Remaining cost
    Team 1    1.000.000,00                         -      1.000.000,00          1.000.000                         -  
    Team 2    1.000.000,00        300.000,00    1.300.000,00          1.300.000                         -  
    Team 3    1.000.000,00    1.740.000,00    2.740.000,00          2.740.000                         -  
    Team 4    1.000.000,00        260.000,00    1.260.000,00          1.260.000                         -  
    Team 5    1.000.000,00    3.074.000,00    4.074.000,00                         -            4.074.000
    Team 6    1.000.000,00        926.000,00    1.926.000,00                         -            1.926.000

     

    This should of course be scalable to more than 6 teams, and the relationship between the teams doesn't follow a predefined pattern. 

    Is it then possible to generate a model giving expected output based on the two types of input?

    Show Less
  • forum

    App Development

    Getfieldselection in dimension

    Dans cet exemple,j'ai utilisé cette expression =$(=GetFieldSelections(_Etiquette) dans la dimension de mon tableau croisés dynamiques, et lorsque je v... Show More

    Dans cet exemple,j'ai utilisé cette expression =$(=GetFieldSelections(_Etiquette) dans la dimension de mon tableau croisés dynamiques, et lorsque je veux appliquer plus qu'un selection, error in dimension, comment je peut faire lorsque je selection des valeur dans_Etiquette considérer des dimensions et leurs résultats doivent séparer par une virgule.merci

    Show Less
  • forum

    Qlik NPrinting

    Sending report automatically to multiple users filter by Excel

    Hi Team, Could you please give some idea how to achieve multiple to address in for one email based on filter option in excel. I have followed below st... Show More

    Hi Team,

    Could you please give some idea how to achieve multiple to address in for one email based on filter option in excel. I have followed below steps but not able to achieve

     

    Singaravelu_R_0-1714583636546.png

     

    Singaravelu_R_1-1714583663752.png

    Receiving below warning in N printing side

    Singaravelu_R_2-1714583694742.png

     

    Not find any selected items

     

    Singaravelu_R_3-1714583881876.png

     

     

    Show Less
  • forum

    Qlik NPrinting

    Problem sending reports with office365 account

    Hello, I'm glad to be a new member in this community. We are experiencing a problem sending the NPrinting reports. Years ago we had configured an offi... Show More

    Hello, I'm glad to be a new member in this community.

    We are experiencing a problem sending the NPrinting reports.

    Years ago we had configured an office365 account to send the reports. Then we started with problems. We executed some tasks but only few were sent or experienced delays.

    Then we found another SMTP server on Internet with old TLS and basic authentication and all were fine. Lately we had to find another SMTP server that is the actual.

    We want to use office365 again, but I don't know if it's possible or not. We need to avoid delaying problems.

    I have seen this topic that I think it's the same problem:

    https://community.qlik.com/t5/Qlik-NPrinting/Using-Office-365-with-SMTP-Authentication-in-NPrinting/td-p/1949132

    May you help us?

     

    Our NPrinting version is 17.3.1.0

     

    Thanks in advance

    Show Less
  • forum

    New to Qlik Analytics

    Error in expression

    Hi,   I want to sum of all Values for which ValueCategoryGlobal are "06-CIP Cold Water Consumption" and "06-CIP Hot water Consumption" and BatchTypeGl... Show More

    Hi,

     

    I want to sum of all Values for which ValueCategoryGlobal are "06-CIP Cold Water Consumption" and "06-CIP Hot water Consumption" and BatchTypeGlobal starts with "CIP". What is worng with my expression.

    Beginner_Qlik1_0-1714660101186.png

     

     

    Could somone help ?

     

    Show Less
  • forum

    New to Qlik Analytics

    Iterate to extract the data in the future

    Hi There,I have an SQL query that runs in QLIK. I have included some variables to take a snapshot from the current fiscal date, month, and year up to ... Show More

    Hi There,

    I have an SQL query that runs in QLIK. I have included some variables to take a snapshot from the current fiscal date, month, and year up to the last four FY years and append the tables to one table and with some conditions. If the stakeholders view this report in 2030, they should be able to view the data from 2020 till 2030, not just latest four years (Example: If stakeholders view the report in the year 2030, they should be able to view the data from 2030 till 2020). 
    I am not sure how I can fit in all the below SQL query to loop through.

    I appreciate your help on this.

    /* From current to last 4 FY years */
    Let vYear_Current = Year(Today());
    LET vYear_Previous_1 = Year(Today()) -1;
    LET vYear_Previous_2 = Year(Today()) -2;
    LET vYear_Previous_3 = Year(Today()) -3;
    LET vYear_Previous_4 = Year(Today()) -4;
    LET vYear_Previous_5 = Year(Today()) -5;
    
    /* From current to last 4 FY snapshot date */
    
    let current_fy_Date = MonthStart(DayName(YearEnd(today(),-1, 8)));
    let current_1_fy_Date = MonthStart(DayName(YearEnd(today(),-2, 8)));
    let current_2_fy_Date = MonthStart(DayName(YearEnd(today(),-3, 8)));
    let current_3_fy_Date = MonthStart(DayName(YearEnd(today(),-4, 8)));
    let current_4_fy_Date = MonthStart(DayName(YearEnd(today(),-5, 8)));
        
     NETWORK_FAULTS_CUSA_STRATEGY_POPULATION:  
     SQL
    WITH UG_ES_CTE AS (
        SELECT ES.EQUIP_NO,
            ES.PROFILE_FY,
            ES.INCDNT_DT,
            ES.POF_INCD_NO,
            1 AS UG_ELEK_SHK
        FROM ES_TABLE ES
        WHERE UPPER(TRIM(ES.ASSET_CAT_DESC)) = ('UG SERVICE CONNECTIONS')
            AND ES.ELEC_SHOCK = 1
            AND ES.CURR_FLG = 'Y'
    ),
    UG_ES_CTE1 AS (
        SELECT PROFILE_FY,
            SUM(UG_ELEK_SHK) AS TOTAL_EL_SHK
        FROM UG_ES_CTE
        GROUP BY PROFILE_FY
        ORDER BY PROFILE_FY DESC
    ),
    EQUIP_TMV_PILLAR_UNIONS AS (
        SELECT '$(vYear_Previous_1)' || '/' || '$(vYear_Current)' as FY_YEAR_SNAPSHOT,
        FROM  ETD_TABLE
        WHERE TO_DATE('$(current_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
            AND CURR_FLG = 'Y'
            AND EQUIP_STAT = 'AC'
            AND TRIM(EQUIP_GRP_ID) = 'PILL'
        UNION ALL
        SELECT '$(vYear_Previous_2)' || '/' || '$(vYear_Previous_1)' as FY_YEAR_SNAPSHOT,
            1 AS PILLAR_COUNT
        FROM ETD_TABLE
        WHERE TO_DATE('$(current_1_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
            AND EQUIP_STAT = 'AC'
            AND TRIM(EQUIP_GRP_ID) = 'PILL'
        UNION ALL
        SELECT '$(vYear_Previous_3)' || '/' || '$(vYear_Previous_2)' as FY_YEAR_SNAPSHOT,
            1 AS PILLAR_COUNT
        FROM ETD_TABLE
        WHERE TO_DATE('$(current_2_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
            AND EQUIP_STAT = 'AC'
            AND TRIM(EQUIP_GRP_ID) = 'PILL'
        UNION ALL
        SELECT '$(vYear_Previous_4)' || '/' || '$(vYear_Previous_3)' as FY_YEAR_SNAPSHOT,
            1 AS PILLAR_COUNT
        FROM ETD_TABLE
        WHERE TO_DATE('$(current_3_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
            AND EQUIP_STAT = 'AC'
            AND TRIM(EQUIP_GRP_ID) = 'PILL'
    ),
    EQUIP_TMV_PILLAR_AGG AS (
        SELECT FY_YEAR_SNAPSHOT,
            SUM(PILLAR_COUNT) AS TOTAL_PILLARS
        FROM EQUIP_TMV_PILLAR_UNIONS
        GROUP BY FY_YEAR_SNAPSHOT
        ORDER BY FY_YEAR_SNAPSHOT DESC
    ),
    UG_SHOCK_KPI AS (
        SELECT 'Underground' AS CUSA_STRATEGY,
            E.FY_YEAR_SNAPSHOT,
            E.TOTAL_PILLARS AS POP_COUNT,
            S.TOTAL_EL_SHK,
            (S.TOTAL_EL_SHK) / (E.TOTAL_PILLARS) AS CUSA_KPI
        FROM EQUIP_TMV_PILLAR_AGG E
            JOIN UG_ES_CTE1 S ON S.PROFILE_FY = E.FY_YEAR_SNAPSHOT
        ORDER BY FY_YEAR_SNAPSHOT DESC
    ),
    CUSA_CTE_UNION AS (
        SELECT EQUIP_NO,
            PICK_ID,
            INSTLN_DT,
            '$(vYear_Previous_1)' || '/' || '$(vYear_Current)' as FY_YEAR_SNAPSHOT,
            CUSA_CARRY_OVER_POLE_CLMP_TYP,
            CUSA_MCB_SVC_CBL_CLMP_AT_POA,
            CUSA_CNSMR_POLE_CLMP_TYP,
            CUSA_ST_MAINS_POLE_CLMP_TYP
        FROM NAME_TABLE
        WHERE TO_DATE('$(current_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
            AND EQUIP_STAT_CDE = 'AC'
            AND CURR_FLG = 'Y'
            AND EQUIP_GRP_ID = 'CUSA'
        UNION ALL
        SELECT EQUIP_NO,
            PICK_ID,
            INSTLN_DT,
            '$(vYear_Previous_2)' || '/' || '$(vYear_Previous_1)' as FY_YEAR_SNAPSHOT,
            CUSA_CARRY_OVER_POLE_CLMP_TYP,
            CUSA_MCB_SVC_CBL_CLMP_AT_POA,
            CUSA_CNSMR_POLE_CLMP_TYP,
            CUSA_ST_MAINS_POLE_CLMP_TYP
        FROM NAME_TABLE
        WHERE TO_DATE('$(current_1_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
            AND EQUIP_STAT_CDE = 'AC'
            AND CURR_FLG = 'Y'
            AND EQUIP_GRP_ID = 'CUSA'
        UNION ALL
        SELECT EQUIP_NO,
            PICK_ID,
            INSTLN_DT,
            '$(vYear_Previous_3)' || '/' || '$(vYear_Previous_2)' as FY_YEAR_SNAPSHOT,
            CUSA_CARRY_OVER_POLE_CLMP_TYP,
            CUSA_MCB_SVC_CBL_CLMP_AT_POA,
            CUSA_CNSMR_POLE_CLMP_TYP,
            CUSA_ST_MAINS_POLE_CLMP_TYP
        FROM NAME_TABLE
        WHERE TO_DATE('$(current_2_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
            AND EQUIP_STAT_CDE = 'AC'
            AND CURR_FLG = 'Y'
            AND EQUIP_GRP_ID = 'CUSA'
        UNION ALL
        SELECT EQUIP_NO,
            PICK_ID,
            INSTLN_DT,
            '$(vYear_Previous_4)' || '/' || '$(vYear_Previous_3)' as FY_YEAR_SNAPSHOT,
            CUSA_CARRY_OVER_POLE_CLMP_TYP,
            CUSA_MCB_SVC_CBL_CLMP_AT_POA,
            CUSA_CNSMR_POLE_CLMP_TYP,
            CUSA_ST_MAINS_POLE_CLMP_TYP
        FROM NAME_TABLE
        WHERE TO_DATE('$(current_3_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
            AND EQUIP_STAT_CDE = 'AC'
            AND CURR_FLG = 'Y'
            AND EQUIP_GRP_ID = 'CUSA'
    ),
    CUSA_CTE AS (
        SELECT U.*,
            CASE
                WHEN (
                    LOWER(CUSA_CARRY_OVER_POLE_CLMP_TYP) = 'helical clamp'
                    OR LOWER(CUSA_MCB_SVC_CBL_CLMP_AT_POA) = 'helical clamp'
                    OR LOWER(CUSA_CNSMR_POLE_CLMP_TYP) = 'helical clamp'
                    OR LOWER(CUSA_ST_MAINS_POLE_CLMP_TYP) = 'helical clamp'
                ) THEN 'Steel Preformed Helical Clamp'
                WHEN (
                    LOWER(CUSA_CARRY_OVER_POLE_CLMP_TYP) = 'wedge clamp'
                    OR LOWER(CUSA_MCB_SVC_CBL_CLMP_AT_POA) = 'wedge clamp'
                    OR LOWER(CUSA_CNSMR_POLE_CLMP_TYP) = 'wedge clamp'
                    OR LOWER(CUSA_ST_MAINS_POLE_CLMP_TYP) = 'wedge clamp'
                )
                AND INSTLN_DT < TO_DATE ('20100101', 'yyyymmdd') THEN 'Wedge Clamp Installed Before 2010'
                WHEN (
                    LOWER(CUSA_CARRY_OVER_POLE_CLMP_TYP) = 'wedge clamp'
                    OR LOWER(CUSA_MCB_SVC_CBL_CLMP_AT_POA) = 'wedge clamp'
                    OR LOWER(CUSA_CNSMR_POLE_CLMP_TYP) = 'wedge clamp'
                    OR LOWER(CUSA_ST_MAINS_POLE_CLMP_TYP) = 'wedge clamp'
                )
                AND INSTLN_DT >= TO_DATE ('20100101', 'yyyymmdd') THEN 'Wedge Clamp Installed On/After 2010'
                ELSE 'Other Clamp Types'
            END AS CUSA_STRATEGY,
            1 AS POP_COUNT
        FROM CUSA_CTE_UNION U
    ),
    ES_CTE AS (
        SELECT C.*,
            ES.INCDNT_DT,
            UPPER(ES.POF_INCD_NO) AS POF_INCD_NO
        FROM CUSA_CTE C
            JOIN ES ON ES.EQUIP_NO = C.EQUIP_NO
            AND TRIM(ASSET_GRP_DESC) = 'Service Connections'
            AND ELEC_SHOCK = 1
            AND INCDNT_DT >= TO_DATE('20160101', 'yyyymmdd')
            AND ES.EQUIP_STAT = 'AC'
            AND ES.CURR_FLG = 'Y'
            AND ES.POF_INCD_NO IS NOT NULL
    ),
    INCIDENT_DM_CTE AS (
        SELECT DISTINCT IDF.NMI,
            UPPER(IDF.INCIDENT_REF) AS INCIDENT_REF,
            ICD.INCDNT_CAT_NAM
        FROM  IDF_TABLE
            JOIN  ICD_TABLE ON IDF.INCIDENT_CATEGORY_SK = ICD.INCDNT_CAT_SK
            AND ICD.INCDNT_CAT_ID = 'ES'
        WHERE IDF.YR_NO >= 2016
            AND TRIM(IDF.NMI) != 'N/A'
            AND IDF.INCIDENT_REF IS NOT NULL
    ),
    INCIDENT_ELCK_SHK AS (
        SELECT E.CUSA_STRATEGY,
            E.EQUIP_NO,
            E.PICK_ID,
            E.INCDNT_DT,
            E.FY_YEAR_SNAPSHOT,
            1 AS EL_SK_COUNT
        FROM ES_CTE E
            JOIN INCIDENT_DM_CTE IDF ON E.POF_INCD_NO = IDF.INCIDENT_REF 
    ),
    CUSA_POP_CTE AS (
        SELECT CUSA_STRATEGY AS CUSA_STRATEGY_POP,
            FY_YEAR_SNAPSHOT,
            SUM(POP_COUNT) AS POP_COUNT
        FROM CUSA_CTE
        GROUP BY CUSA_STRATEGY,
            FY_YEAR_SNAPSHOT
    ),
    CUSA_ELEC_SHK AS (
        SELECT CUSA_STRATEGY,
            FY_YEAR_SNAPSHOT,
            SUM(EL_SK_COUNT) AS TOTAL_EL_SHK
        FROM INCIDENT_ELCK_SHK
        GROUP BY CUSA_STRATEGY,
            FY_YEAR_SNAPSHOT
    ),
    CUSA_SHK_KPI AS (
        SELECT E.CUSA_STRATEGY,
            E.FY_YEAR_SNAPSHOT,
            P.POP_COUNT,
            E.TOTAL_EL_SHK,
            (E.TOTAL_EL_SHK) / (P.POP_COUNT) AS CUSA_KPI
        FROM CUSA_POP_CTE P
            JOIN CUSA_ELEC_SHK E ON P.FY_YEAR_SNAPSHOT = E.FY_YEAR_SNAPSHOT
            AND P.CUSA_STRATEGY_POP = E.CUSA_STRATEGY
        ORDER BY P.FY_YEAR_SNAPSHOT DESC
    ),
    UG_CUSA_KPI_JOIN AS(
        SELECT UG.*
        FROM UG_SHOCK_KPI UG
        UNION ALL
        SELECT CUSA.*
        FROM CUSA_SHK_KPI CUSA
    )
    SELECT *
    FROM UG_CUSA_KPI_JOIN
    ORDER BY FY_YEAR_SNAPSHOT DESC;



    Show Less
  • forum

    QlikView Administration

    bookmarks extraction and structure

    Hi, I have a QlikView deployment with 80 different apps. In each app the users can save their bookmarks. Some are shared, while others are kept privat... Show More

    Hi,

    I have a QlikView deployment with 80 different apps.

    In each app the users can save their bookmarks. Some are shared, while others are kept private.

    I need to get a list of the bookmarks along with their content (in terms of saved selections).

    In the QlikView QMC i can see the list, but i can't see the details.

    How can I get this information?

    Thanks

    Show Less
Leaderboard

Customer Story

Qlik Data Integration & Qlik Replicate story

Qlik enables a frictionless migration to AWS cloud by Empresas SB, a group of Chilean health and beauty retail companies employing 10,000 people with 600 points of sale.

Customer Story

Building a Collaborative Analytics Space

Qlik Luminary Stephanie Robinson of JBS USA, the US arm of the global food company employing 70,000 in the US, and over 270,000 people worldwide.

Location and Language Groups

Choose a Group

Join one of our Location and Language groups. Find one that suits you today!

Collaborate

Healthcare User Group

Healthcare User Group

A private group is for healthcare organizations, partners, and Qlik healthcare staff to collaborate and share insights..

All are welcome

Japan Group

Japan

Qlik Communityの日本語のグループです。 Qlik製品に関する日本語資料のダウンロードや質問を日本語で投稿することができます。

Request to join

Brasil Group

Brazil

Welcome to the group for Brazil users. .All discussions will be in Portuguese.

open to all

Blogs

Community News

Hear from your Community team as they tell you about updates to the Qlik Community Platform and more!