Skip to main content

Welcome to
Qlik Community!

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

Welcome to Qlik Community

Recent Discussions

  • 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

    Qlik Application Automation

    عمل لجلب الحبيب☀️0𝟬𝟗.𝟔𝟔.𝟓𝟳𝟖.𝟑85.770☀️طاعة وقبول السعودية، الإمارات ، عُم...

    Please, can anyone explain or send me a link that explain step by step on how to us VB Script Macros to Send email through Outlook In QlikView?
  • 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

    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

    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
  • forum

    QlikView App Dev

    Export pictures to Excel

    Hi,I am trying to export a straight table with pictures into excel. Challenge is that picture must be exported in that way, so end user can do filteri... Show More

    Hi,

    I am trying to export a straight table with pictures into excel. Challenge is that picture must be exported in that way, so end user can do filtering in excel on some other fields, and see picture for corresponding row.

    Small example is in attach.

    Your help is greatly appreciated.

    Show Less
  • forum

    App Development

    Coloring the Qliksense Stacked chart based on the Legend

    I need to use the color for stacked chart based on the legend dimension value. For example, if I show the sum value for month and Status in the stacke... Show More

    I need to use the color for stacked chart based on the legend dimension value.

    For example, if I show the sum value for month and Status in the stacked bar chart , the color of the bar should be based on the status value.

     

    I used the below expression in the Appearance >> Color and Legend >> Use custom colors

     

    =pick(Match(ErrorStatus,'Success','Service Unavailable','Bad Gateway'),'#009845','#004080','#F20000')

     

    but its not working properly. If I made the selections in the status then the bar is appearing with the corresponding color but if there is no selection then the bar itself is not showing.

     

    But if I scroll over the chart area the tooltip is appearing as normal.

    Show Less
  • forum

    App Development

    Sort Data Based on Number of Leading Zeros

    Hi All, How to sort data based on leading zeros and not the actual number in qlik Below is my example Item Num 0064 000670402 0065FR CS-CD-... Show More

    Hi All,

    How to sort data based on leading zeros and not the actual number in qlik

    Below is my example

    Item Num
    0064
    000670402
    0065FR
    CS-CD-PSW-10-00
    010240410

    The data should be sorted based on number of zeros at the start in ascending order.

    My final output should be like the below table

    Item Num
    000670402
    0064
    0065FR
    010240410
    CS-CD-PSW-10-00

    Note : This is just an example . I have more that 30000 item numbers like this and i want to sort based on number of leading zeros

    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!