Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 217,890 members
  • 7,784 online
  • 1,995,921 posts
  • 149,592 Solutions
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Welcome to Qlik Community

Recent Discussions

  • forum

    New to Qlik Analytics

    Append two tables to one when the primary key do not match

    I have two Q VD files (table1, table2) with the same column names, and I would like to append them into a single table called "final_table". The appen... Show More

    I have two Q VD files (table1, table2) with the same column names, and I would like to append them into a single table called "final_table". The append operation should only occur when the primary keys do not match from both tables. However, with the current code, I am only seeing IDs from table1 appear, and IDs from table2 are not being included.

    I would appreciate your guidance in resolving this issue.

     

    LOAD *
    From table1;
    Concatenate LOAD * FROM table2
    WHERE NOT Exists(id);

    Show Less
  • forum

    App Development

    Dimension as a measure

    Hi,  I am creating a pivot table where I have a measure which gives a count of ID. I need to to make it a dimension and collapse it so that it shows t... Show More

    Hi,

     I am creating a pivot table where I have a measure which gives a count of ID. I need to to make it a dimension and collapse it so that it shows the count and upon clicking the expand option, I have to see new set of dimensions which will give the data for the count.

    Something like this

    Dim1 count      
    ABC 200 ID Name Country
        1 aa A
        2 ab B
        3 bc N
    Show Less
  • forum

    Qlik NPrinting

    Qlik NPrinting 2021 Task Log Files?

    Hi, I want to look at the log files to investigate what is causing our Tasks stuck in running status. In Nprinting, Admin tab-->Task Executions-->Task... Show More

    Hi,

    I want to look at the log files to investigate what is causing our Tasks stuck in running status.

    In Nprinting, Admin tab-->Task Executions-->Task-->Log--->The log doesn't give any information about what is happening in the background.

    I see there are various logs in ProgramData folder such as nprinting_engine, nprinting_manager, nprinting_scheduler etc, but when i search the content of the logs based on Task ID, none of them give any result.

    Life was easy with nprinting v16 logs, 

    Could you help me how which log contain the information about the task and what is causing the running status issue.

    Thanks

    Show Less
  • forum

    New to Qlik Analytics

    script snippet explanation

    Hi all! Can you help me understand this code bit?   Load Key, date(SubField(Key,'|',1)) as CanonicalDate, 'IssueDate' as DateType; Load Fiel... Show More

    Hi all! Can you help me understand this code bit?

     

    Load Key,
         date(SubField(Key,'|',1)) as CanonicalDate,
         'IssueDate' as DateType;
    Load FieldValue('Key',RecNo()) as Key
    AutoGenerate FieldValueCount('Key');

     

    Going upwards; The first LOAD statement  ( Load FieldValue... Autogenerate...)  loads Key from AutoGenerate clause.

    Now the second (topmost) Load is a preceding load to the other one. I get it.

    But this doesn't mean that the Load FieldValue... Autogenerate.. bit should work on its own ?

    I found out it doesn't when trying to break down the code.

     

    Why is that?

     

    Thank you in advance 🙂

     

    Show Less
  • forum
  • forum

    Design and Development

    Go through several outputs for each record

    Hi everyone, I am facing an issue as I am trying to build a flat file to import data in a software (standard format defined by the software editor). F... Show More

    Hi everyone,

    I am facing an issue as I am trying to build a flat file to import data in a software (standard format defined by the software editor). For each of my records, I have to go through several outputs I created and this order must be respected. At the moment, my job goes through the first output for all the records and then switches to the next output.

    In my case, I would like it to go through each output, one by one, with one record before it switches to the next record.

    How can I do this ? Please find attached a screenshot of my job.

    Thanks.

     

    Show Less
  • forum

    App Development

    Dividing a Cumulative Sum by a Total in a Line Graph

    Hi, I have searched high and low but cannot find my answer. Hopefully someone can point me in the right direction, or even if my current model simply ... Show More

    Hi,

    I have searched high and low but cannot find my answer. Hopefully someone can point me in the right direction, or even if my current model simply won't allow for it:

    I need to form a line graph to show how much of a total was cleared by X time in QlikSense. I have two tables: one with invoices where each invoice appears only once and one with the receipts that clear that invoice where each invoice may have multiple receipts that relate to it; each receipt is assigned an age band which relates to how long it took for the receipt to be received relative to when the invoice was due to be cleared (i.e. day 7, day 14 etc). Each invoice has a quarter that it was due and I want to have one line of the graph for each of these quarters.

    I can form a running sum of the receipts by each age band split across the quarter that they are due using:

    Sum(Aggr(RangeSum(Above(Sum([Payment Amount]), 0, RowNo())), [Due Quarter], [Age Band]))

    And it produces the below:

    DanEvans_0-1714128153067.png

    However, I now need to divide each of these by the total amount due in each quarter to the get a running % of the amount cleared by each period in time.

    I can get the 'correct' number of the total due each quarter to appear as a single point on a line graph using:

    Aggr(Sum([Original Gross Amount]), [Due Quarter])

    DanEvans_1-1714128342145.png

    However, I cannot get essentially a set of horizontal lines for each point so that they show the total for the quarter regardless of the age band of receipts which would then allow me to combine the two graphs to form a running %. Not every age band will show up for every invoice in the data.

    The invoice table (although it has far more fields in reality) is like this:

    Invoice Number Due Quarter Amount
    1 Q1-2023 100
    2 Q2-2023 300
    3 Q3-2023 500
    4 Q4-2023 150
    5 Q1-2024 64
    6 Q1-2023 24
    7 Q2-2023 566
    8 Q3-2023 122
    9 Q4-2023 46
    10 Q1-2024 677

     

    And the receipts table look like this (they relate via Invoice Number):

    Receipt Number Invoice Number Receipt Amount Age Band
    1 1 50 Due Date
    2 2 150 7 Days
    3 3 250 14 Days
    4 4 75 Due Date
    5 5 32 28 Days
    6 6 12 21 Days
    7 7 283 7 Days
    8 8 61 Due Date
    9 9 23 7 Days
    10 10 338.5 14 Days
    11 1 50 21 Days
    12 2 150 7 Days
    13 3 250 Due Date
    14 4 75 7 Days
    15 5 32 14 Days
    16 6 12 Due Date
    17 7 283 7 Days
    18 8 61 14 Days
    19 9 23 Due Date
    20 10 338.5 28 Days

     

    Anything anyone can do to assist me with this one, I'd appreciate it.

     

     

     

     

    Show Less
  • forum

    New to Qlik Analytics

    A join that doesn't surprisingly work

    Hello everyone, I would like to discuss this case and I'm sure someone can explain to me why this happens. In my following script, table1 is a fact ta... Show More
    Hello everyone, I would like to discuss this case and I'm sure someone can explain to me why this happens.
    In my following script, table1 is a fact table of data about Activities that actually have happened and table 2 is a  fact able about all activities, including the ones in table1 and more that are announced but haven't happened yet so they cannot be in table1 yet. Dim_team is a dimension table with team details. The cardinality is many to 1 such as an Event_id can only belong to an ID_Activity, but an ID_Activity and can have many Event_ids.  So the question now is: I tried to right join the tables with a composite key "Activity_Key" (because in fact ID_Activity and ID_for_Activity are the same and so are ID_Team and ID_of_Team) so that I can have all data for Activities even when they have nulls in table1.
    The result I'm getting is not what I expected, it gets partial information, doesn't match info as it should.
    A link table saved the day, but I was -and still am- very confused about that.
     
     
     
     
    dim_team:
     
    LOAD ID_Team,
          Team_Name
          Team_Code
    FROM [$(vPathQVD)team.qvd]
    (qvd);
     
     
     
    fact_table1:   
    //
    LOAD
        "Event_id",
        "ID_Person",
        "ID_Team",
        "ID_Activity",
        "ID_Team"&"ID_Activity" as Activity_Key
     
    FROM [$(vPathQVD)table1.qvd]
    (qvd);
     
     
    right join(fact_table1)
    //fact_table2
    LOAD
     
        "ID_for_Activity",
        "ID_of_Team",
        "ID_of_Team"&"ID_for_Activity" as Activity_Key,
        "Activity_Name",
        "Participants_Number",
         Date,
         Place
     
        
    FROM [$(vPathQVD)Activity.qvd]
    (qvd);
     
     
    I could use some help! Thank you 🙂
    Show Less
  • forum

    Integration, Extension & APIs

    Route multiple QlikSense servers through Nginx

    Hello everyone, We have 2 QlikSense servers in our internal infrastructure and we want to expose these 2 servers externally, through Nginx.We would li... Show More

    Hello everyone,

    We have 2 QlikSense servers in our internal infrastructure and we want to expose these 2 servers externally, through Nginx.
    We would like to be able to access these servers via ourdomain.com/qliksense1 and ourdomain.com/qliksense2.
    Is it possible to configure Nginx to allow this?

    Furthermore, we also require virtual proxies for some of our custom apps and we would like to be able to access the virtual proxy via ourdomain.com/qliksense1/virtualproxy and ourdomain.com/qliksense2/virtualproxy.
    Is this possible?


    Thank you!

    Show Less
  • forum

    New to Qlik Analytics

    what are the ports need to be port between ALB and Qlik sense hub

    what are the ports need to be port between ALB and Qlik sense hub
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!