Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 218,901 members
  • 6,868 online
  • 1,997,493 posts
  • 149,750 Solutions
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Welcome to Qlik Community

Recent Discussions

  • forum

    App Development

    How to use the Cyclic Group along with Aggr function to dynamically recalculate ...

    Qlik have introduced the Cyclic group to Qlik Sense Cloud, Which is a fantastic addition for you to dynamically change the dimension based on the cycl... Show More

    Qlik have introduced the Cyclic group to Qlik Sense Cloud, Which is a fantastic addition for you to dynamically change the dimension based on the cyclic group.. This opens the doors to dynamically use the the Cyclic group in Aggregation function in a calculation.

    • Create a Cyclic group with the required Dimension values . EG Locations.
    • Create a Variable in the script to get the label of the group dimension created above (Note the single quotes and the = inside , very important for the $ expand to compute the values from the cyclic field name selected

    set vLocations = '=GroupDimensionLabel(Locations)';

    • Use the variable inside your formula

    Aggr(Rank(1-count({<[somefield]={'somevalue'}>}some_number)/count(some_number)),$(vLocations))

    Show Less
  • forum

    New to Qlik Analytics

    How integrate a table with two fields which refer to two different tables?

    Dear Community 🙂 Here the "challenge": I want to link a table that has three fields: "Product ID", "Supplier No" and "is_DefaultSupplier" as this tab... Show More

    Dear Community 🙂

    Here the "challenge":

    I want to link a table that has three fields: "Product ID", "Supplier No" and "is_DefaultSupplier" as this table shows the Default Supplier every product with the Supplier No.

    In the DataModel (attached), I have a table "ProductDim" with the field "Product ID" and a table "Supplier" with "Supplier No". 

    How can I link my new table? 🙂 Do I have to go via the LinkTable?

    Thanks a lot and greetings from Switzerland!

    Pesche

    Show Less
  • forum

    New to Qlik Analytics

    Set expression to display previous year December values (with if statement insid...

    I want to create a Column 'Equity Previous Year December' to display Equity for the Previous year's December values against the PERIOD_YEAR_MONTH colu... Show More
    I want to create a Column 'Equity Previous Year December' to display Equity for the Previous year's December values against the PERIOD_YEAR_MONTH column ranging from 2023-01 to 2024-03

    PERIOD_YEAR_MONTH Equity current period Equity Previous Year December
    2024-03
    2024-02
    2024-01
    2023-12
    2023-11
    --
    --
    2023-01
    2022-12
    324234
    755456
    342555
    657574
    2131821
    --
    --
    485325
    723944
    657574
    657574
    657574
    723944
    723944
    --
    --
    723944
     
     
    I tried the set expression below but only the first part of if condition gets evaluated. How can I achieve my goal? 😕 

    =Sum({< 
         PERIOD_YEAR = {"$(=If(PERIOD_YEAR = '2024', '2023', '2022'))"}, 
         PERIOD = { '12' }
        >}
    Total Equity current period)

     

    Show Less
  • forum

    Qlik Replicate

    repctl checkpoint "task name" for downstream task (source: log stream task &amp; tar...

    repctl checkpoint "task name" for downstream task (source: log stream task & target : oracle database) is not giving correct timestamp.    D:\bin>repc... Show More

    repctl checkpoint "task name" for downstream task (source: log stream task & target : oracle database) is not giving correct timestamp. 

     

    D:\bin>repctl getcheckpoint "TASK_INGCDC_02"

    command getcheckpoint response:

    {

            "checkpoint":   "checkpoint:V1#33512#1271;638506460899807820;20240120221751514712#0#0#*#0#137"

    }

    [getcheckpoint command] Succeeded

    Regards

    Dipankar

     

    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)));
        
     POP:  
     SQL
    WITH DF1 AS (
        SELECT * 
        FROM ES_TABLE ES
        WHERE 
    ),
    DF2 AS (
        SELECT * FROM UG_ES_CTE
        GROUP BY FY
        ORDER BY FY DESC
    ),
    DF3 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
            
        UNION ALL
        SELECT '$(vYear_Previous_2)' || '/' || '$(vYear_Previous_1)' as FY_YEAR_SNAPSHOT,
            
        FROM ETD_TABLE
        WHERE TO_DATE('$(current_1_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
                UNION ALL
        SELECT '$(vYear_Previous_3)' || '/' || '$(vYear_Previous_2)' as FY_YEAR_SNAPSHOT,
          
        FROM ETD_TABLE
        WHERE TO_DATE('$(current_2_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
          
        UNION ALL
        SELECT '$(vYear_Previous_4)' || '/' || '$(vYear_Previous_3)' as FY_YEAR_SNAPSHOT,
           
        FROM ETD_TABLE
        WHERE TO_DATE('$(current_3_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
           
    ),
    DF4 AS (
        SELECT FY_YEAR_SNAPSHOT,
            SUM(SALES) AS TOTAL_SALES
        FROM UNIONS
        GROUP BY FY_YEAR_SNAPSHOT
        ORDER BY FY_YEAR_SNAPSHOT DESC
    ),
    KPI AS (
        SELECT 'Env' AS STRATEGY,
            E.FY_YEAR_SNAPSHOT,
            E.TOTAL_SALES AS POP_SALES,
            FROM DF4 E
            JOIN DF1 S ON S.PROFILE_FY = E.PROFILE_FY
        ORDER BY FY_YEAR_SNAPSHOT DESC
    );

     



    Show Less
  • forum

    New to Qlik Analytics

    First date of a data set but of the current year

    Hello, I have a set of data which contains dates reaching from 01-03-2024 to 30-03-2024 and various dates in 2023. Now I need to get the first date ou... Show More

    Hello,

    I have a set of data which contains dates reaching from 01-03-2024 to 30-03-2024 and various dates in 2023.

    Now I need to get the first date out of my data set but out if this year. This would be 01-03-2024.

    When I use min(), minstring(), makedate() the result is either 01-01-2024 or the first date in the data which is some day in 2023.

    Is it possible somehow to get the desired 01-03-2024?

    Show Less
  • forum

    New to Qlik Analytics

    Filtering data In QV

    Hello All, I have two variables in my Include fileLET vNumOfYears = 4;LET vStartDate = date(Yearstart(AddYears(Today(),-$(vNumOfYears))),'YYYY-MM-DD')... Show More

    Hello All, 
    I have two variables in my Include file

    LET vNumOfYears = 4;
    LET vStartDate = date(Yearstart(AddYears(Today(),-$(vNumOfYears))),'YYYY-MM-DD');

    Currently I am taking last 4 years of data, but now I just want to show Current Quarter+ last 4 Quarters of data
    I want to remove taht 4 in NumOfYears and add my new condition there (4 quarters before + current quarter )

    I need to show that in above variables

    Please help to get this

    thanks!!


    Show Less
  • forum

    New to Qlik Analytics

    Qlik QPI installer

    I want to upgrade my existing version of Qlik Sense Enterprise from release February 2023 to February 2024. The existing version still uses the Postgr... Show More

    I want to upgrade my existing version of Qlik Sense Enterprise from release February 2023 to February 2024. The existing version still uses the PostgreSQL 9.6 database. So I want to use the Qlik PostgreSQL Installer to upgrade and unbundle the PostgreSQL database.

    I used version 1.3 instead of 1.4 of the QPI tool as my folder where Qlik is installed is not the default "C:\program files\qlik\sense" folder.

    After a few minutes the QPI returns an error and refers to the log folder. Within this log folder in the install-postgresql.log file, the following lines are included:

    -----------------------------------

    Called ClearAcl (C:\Program Files\PostgreSQL\14\data)...
    Executing batch file 'rad811EC.bat'...
    C:\Program Files\PostgreSQL\14\data NT SERVICE\TrustedInstaller:(I)(F)
    NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
    NT AUTHORITY\SYSTEM:(I)(F)
    NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
    BUILTIN\Administrators:(I)(F)
    BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
    BUILTIN\Users:(I)(RX)
    BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
    CREATOR OWNER:(I)(OI)(CI)(IO)(F)
    APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(RX)
    APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(OI)(CI)(IO)(GR,GE)
    APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(I)(RX)
    APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(I)(OI)(CI)(IO)(GR,GE)

    Successfully processed 1 files; Failed processing 0 files

    Removing inherited ACLs on (C:\Program Files\PostgreSQL\14\data)
    Called Die(Failed to reset the ACL (C:\Program Files\PostgreSQL\14\data))...
    Failed to reset the ACL (C:\Program Files\PostgreSQL\14\data)

    Script stderr:
    Program ended with an error exit code

    -----------------------------------

    I'm an admin and I run the tool as administrator. Also I disabled UAC, but without any success. Please help.

     

    Show Less
  • forum

    New to Qlik Analytics

    Qlik PostgreSQL Installer doesn't detect database

    Hi, I want to upgrade my existing version of Qlik Sense Enterprise from release February 2023 to February 2024. The existing version still uses the Po... Show More

    Hi,

    I want to upgrade my existing version of Qlik Sense Enterprise from release February 2023 to February 2024. The existing version still uses the PostgreSQL 9.6 database. So I want to use the Qlik PostgreSQL Installer to upgrade and unbundle the PostgreSQL database.

    I stopped all Qlik services except the Qlik Sense Repository Database. Then I start the QPI tool and at the first screen it displays 'No supported existing Qlik Sense PostgreSQL database found. This program will install a new PostgreSQL v14.8 database".

    Why doesn't this QPI tool detect my existing database?

    When I press next and fill out all fields, field 'database port' becomes red with message 'Database port already used by an external service in the system'. Port 4432 is used by the postgres.exe so then it detects?!

    I have attached the pg_hba.conf and the postgresql.conf from folder "C:\ProgramData\Qlik\Sense\Repository\PostgreSQL\9.6". Files are renamed with .txt to be able to upload.

    Also I have tried to change the 'listen_addresses' line to 'listen_addresses = '*' without any luck.

     

    Show Less
  • forum

    New to Qlik Analytics

    Rank Function and Partition by multiple dimension and apply filter on the rank

    Hi There,I have n number of columns in the table and I would like to apply rank function on below variables based on latest survey date where i can fi... Show More

    Hi There,I have n number of columns in the table and I would like to apply rank function on below variables based on latest survey date where i can filter out rank = 1.

    Appreciate your advice.

    Something similar to SQL Query.

    rank() over (partition by COUNTRY, STATE order by survery_date desc)

    from table

    where rank = 1

    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!