Skip to main content

Welcome to
Qlik Community!

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

Welcome to Qlik Community

Recent Discussions

  • 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');

    I want to remove 4 in NumOfYears and add the new condition like to show data which will be having Current running quarter + before 4 quarters (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
  • forum

    Qlik Compose for Data Warehouses

    Project Export Failing

    Hi I am trying to export the project using Compose CLI and I am getting below error.  Command ComposeCliexport_csv failed SYS-E-HTTPFAIL, Session expi... Show More

    Hi I am trying to export the project using Compose CLI and I am getting below error. 

    Command ComposeCliexport_csv failed SYS-E-HTTPFAIL, Session expired. 

    This is what I am trying

    <path where we have installed the compose software>\ComposeCli.exe export_csv --project <project name> --outfolder C:\EXPORT\ABC

    Any help on this topic is greatly appreciated.

    Show Less
  • forum

    Qlik Compose for Data Warehouses

    SQL Server LOG_BACKUP full

    We run Compose on-prem, writing to a SQL Server instance also on-prem. Our DBA has 4-hour backups for all the company's SQL Servers which is supposed ... Show More

    We run Compose on-prem, writing to a SQL Server instance also on-prem. Our DBA has 4-hour backups for all the company's SQL Servers which is supposed to truncate the transaction logs for all the databases after doing so. However, the logs for both my test and production data warehouse databases seem to be immune to such truncation:

    JacobTews_1-1715115490967.png

    Notice in particular the fact that the log for the test data warehouse is actually bigger than the test data warehouse itself!

    Any systems-knowledgeable folks out there have any insights?

    Is there a setting in Compose that I have inadvertently toggled to cause such behavior?

    Qlik Compose for Data Warehouses Qlik Compose 

    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!