Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 219,347 members
  • 9,719 online
  • 1,998,198 posts
  • 149,814 Solutions
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Welcome to Qlik Community

Recent Discussions

  • forum

    New to Qlik Analytics

    Display last transactions with multiple rows

    How to display the last transaction that has multiple rows.  Example here is my data transaction_id transaction_date account_name items amount 98... Show More

    How to display the last transaction that has multiple rows.  Example here is my data

    transaction_id transaction_date account_name items amount
    9850840 5/10/2004 Mikey A 10
    9850840 5/10/2004 Mikey B 15
    9850840 5/10/2004 Mikey C 20
    4536281 5/11/2004 Mikey D 10
    4536281 5/11/2004 Mikey E 15
    4536281 5/11/2004 Mikey F 20
    7653428 5/12/2004

    Mikey

    G 10
    7653428 5/12/2004 Mikey H 15
    1285905 5/12/2004 Mikey I 20
    1285905 5/11/2004 Mikey D 10
    1285905 5/11/2004 James A 15
    8664523 5/11/2004 James C 20
    8664523 5/12/2004 James D 10
    8664523 5/12/2004 James E 20
    8664523 5/12/2004 James E 20
    8664523 5/12/2004 James K 30

     

    I want to display in a chart table

    account_name items amount
    Mikey G 10
    Mikey H 15
    Mikey I 20
    James E 20
    James E 20
    James K

    30


    The Example I saw mostly sum up the amount, so it will only have 1 rec per account name, but i want to display the details.
    master item last_transaction_id = FirstSortedValue(transaction_id,-transaction_date,account_name) will give me the last transaction_id per account name.  How do I display all records associated with this transaction_id if I dont want to display the transaction_id.  I can't get the set analysis syntax correctly, something like  {<transaction_id = last_transaction_id>} account_name,  {<transaction_id = last_transaction_id>} item, {<transaction_id = last_transaction_id>} Amount.  i appreciate any help on this.  Thanks.

    Show Less
  • forum

    New to Qlik Analytics

    select the previous month directly

    Hello, I have a dimension called ''Exercice période'' in French which mean Period exercice. I want to systematically select the previous month of the ... Show More

    Hello,

    I have a dimension called ''Exercice période'' in French which mean Period exercice. I want to systematically select the previous month of the period, as an example, we're in May, I want to select April.

    Any expression for that please?

    Phara_0-1715366807194.png

     

    Thank you so much

     

    Show Less
  • forum

    App Development

    How to pass authentication token to websocket call

    I am creating a simple mashup and it generates below config --  var config = {host: window.location.hostname,prefix: prefix,port: window.location.port... Show More

    I am creating a simple mashup and it generates below config -- 

    var config = {
    host: window.location.hostname,
    prefix: prefix,
    port: window.location.port,
    isSecure: window.location.protocol === "https:"
    };

    This is then used to make websocket calls , like https://<host>:<port>/<prefix>/app/engineData?reloadUri=....

     

    I am exposing the dashboard through a different domain. I need to authenticate separately and pass a 'token' to this websocket call.

    Like https://<host>:<port>/<prefix>/app/engineData?reloadUri=....&token=<TOKEN>

    How to configure the config options to pass this token in every websocket call?

     

    This question is for Qlik Sense enterprise edition. 

    Show Less
  • forum

    App Development

    Colors quality differs based on method of using them

    Why don't these two example charts show the same colors (see example image)? Top chart: I first created this one. Appearance settings is custom colors... Show More

    Why don't these two example charts show the same colors (see example image)?

    Top chart: I first created this one. Appearance settings is custom colors by dimension Dim2, and I have chosen a color scheme from my custom theme.

    Bottom chart: I duplicated the first chart, and the only thing I changed is the appearance color setting. Here I have chosen colors by expression, and the colors that the expression defines are the same color codes as in the custom theme palette used in the top chart.

    Why are the colors in the topmost chart "faded"?

    henrikalmen_0-1715614793648.png

    The hex codes for the colors are exactly the same in the expression as in the custom theme definition. I don't understand why the colors are faded in the top chart.

    Qlik Sense Enterprise on Windows February 2024 patch 3.

    Show Less
  • forum

    Qlik Application Automation

    Cannot POST form data using upgraded 'API Key - Raw API Request' - HTTP 500 Inte...

    I upgraded a 'API Key - Raw API Request' block today that was posting raw form data. After the upgrade, Qlik does not send the request to the remote s... Show More

    I upgraded a 'API Key - Raw API Request' block today that was posting raw form data. After the upgrade, Qlik does not send the request to the remote server and returns a HTTP 500 error.

    When upgrading, Qlik prompted me that the Form encoded body field was removed. I was already sending a raw body like 'field1=value1&field2=value2' with the 'Content-Type' header set as 'application/x-www-form-urlencoded'. In the previous version of the 'API Key - Raw API Request' it was working fine.

    I have tested this with a remote server and with the old and the upgraded block, the request of the upgraded block not arrive at the remote server. The error also indicates something fails on Qlik's side. I would like to know how I can POST form data using the new 'API Key - Raw API Request' block.

    Show Less
  • forum

    Administering and Monitoring

    Special character in database password

    I want to connect a postgresql database to a job talend but database password contain special character ù and talend send me this error Caused by: jav... Show More

    I want to connect a postgresql database to a job talend but database password contain special character ù and talend send me this error
    Caused by: java.lang.IllegalArgumentException: value contains character 'ù' which is non US-ASCII
    I search on forum but i never find solution to this problem.

    Thank you for your help.

    Show Less
  • forum

    Qlik NPrinting

    How to compute a correct moving average in Nprinting ?

    Hi there, I am trying to compute a 5-weeks moving average correctly to display it in a graph in a Nprinting report. Basically my data looks like the a... Show More

    Hi there,

    I am trying to compute a 5-weeks moving average correctly to display it in a graph in a Nprinting report.

    Basically my data looks like the attached example : 

    - week id

    - Nb is my measure

    - Moving average 5 weeks : the 5-week moving average of the measure "Nb"

    I want to display "Nb" and its "Moving average 5 weeks" only over the last 10 weeks, so between week 202411 and 202420 in my example.

    But for weeks 202411 to 202415, I need older data points to be able to compute properly the 5 weeks rolling average, example : 

    Moving average 5 weeks for week 202411 = (120 + 200 + 27 + 128 + 625 )/5 = 220

    Problem : if I filter on the last 10 weeks only, I miss older data required to compute properly the 5-weeks rolling average. For 202411, I will only get 120/5 = 24 which is wrong.

    How can I do to compute properly the moving average for each point and only then, filter to display only the 10-week period of my interest ?

    What I have already tried without success :

    - compute the moving average in QlikSense and then filter on 10 last weeks in Nprinting graph : FAILED

    - filter on 20 last weeks in Nprinting graph to get correct moving average value and then apply an additional filter on 10 last weeks at task level (hoping the aggregation would be performed before the final filter on period) : FAILED

    Thanks for your help

    Show Less
  • forum

    Qlik Enterprise Manager

    mssql_execute_log_lsn_peeper(...) failed upon SQLExecute with LSN

    Hi All, In my project using Qlik Data integration here as Source; Sql server, Target: snowflake After full load of the DB. Iam getting the below errro... Show More

    Hi All,

    In my project using Qlik Data integration here as Source; Sql server, Target: snowflake

    After full load of the DB. Iam getting the below errror. Kindly share your suggestions as soon as possible.

    Task is running (sorter.c:714)
    00008272: 2024-05-09T09:08:52 [SOURCE_CAPTURE ]I: Throughput monitor: Last DB time scanned: 2024-05-09T10:08:48.357. Last LSN scanned: 00234240:0000621e:0005. #scanned events: 4. (sqlserver_log_utils.c:4994)
    00008272: 2024-05-09T09:10:52 [SOURCE_CAPTURE ]I: Throughput monitor: Last DB time scanned: 2024-05-09T10:08:48.357. Last LSN scanned: 00234240:0000621e:0005. #scanned events: 0. (sqlserver_log_utils.c:4994)
    00008272: 2024-05-09T09:12:52 [SOURCE_CAPTURE ]I: Throughput monitor: Last DB time scanned: 2024-05-09T10:08:48.357. Last LSN scanned: 00234240:0000621e:0005. #scanned events: 0. (sqlserver_log_utils.c:4994)
    00008272: 2024-05-09T09:14:52 [SOURCE_CAPTURE ]I: Throughput monitor: Last DB time scanned: 2024-05-09T10:13:49.073. Last LSN scanned: 00234240:00006221:0005. #scanned events: 4. (sqlserver_log_utils.c:4994)
    00008272: 2024-05-09T09:16:52 [SOURCE_CAPTURE ]I: Throughput monitor: Last DB time scanned: 2024-05-09T10:13:49.073. Last LSN scanned: 00234240:00006221:0005. #scanned events: 0. (sqlserver_log_utils.c:4994)
    00008272: 2024-05-09T09:18:42 [SOURCE_CAPTURE ]E: mssql_execute_log_lsn_peeper(...) failed upon SQLExecute with LSN parameters '0x00234240:00006221:0005','0x00234240:00006221:0005' [1020102] (sqlserver_log_queries.c:840)
    00008272: 2024-05-09T09:18:42 [SOURCE_CAPTURE ]E: Encountered an unexpeceted error. Aborting... [1020102] (sqlserver_endpoint_capture.c:785)
    00016960: 2024-05-09T09:18:42 [TASK_MANAGER ]I: Task error notification received from subtask 0, thread 0, status 1020102 (replicationtask.c:3520)
    00008272: 2024-05-09T09:18:42 [SOURCE_CAPTURE ]E: Error executing source loop [1020102] (streamcomponent.c:1942)
    00008272: 2024-05-09T09:18:42 [TASK_MANAGER ]E: Stream component failed at subtask 0, component st_0_REGISBERMUDA_TEST- Financeapp1 [1020102] (subtask.c:1433)
    00008272: 2024-05-09T09:18:42 [SOURCE_CAPTURE ]E: Stream component 'st_0_REGISBERMUDA_TEST- Financeapp1' terminated [1020102] (subtask.c:1602)
    00016960: 2024-05-09T09:18:42 [TASK_MANAGER ]W: Task 'Regis BDA Qlik Replication' encountered a recoverable error (repository.c:6049)
    00016528: 2024-05-09T09:18:42 [SORTER ]I: Final saved task state. Stream position 00234240:00006221:0005, Source id 170, next Target id 1, confirmed Target id 0, last source timestamp 1715260428863000 (sorter.c:781)
    00016960: 2024-05-09T09:18:42 [TASK_MANAGER ]I: Subtask #0 ended (replicationtask_util.c:591)
    Show Less
  • forum

    New to Qlik Analytics

    Converting Date to MonthYear

    Hi, I have a date and time field. I want to convert the field to MonthYear and use it in a line chart. I used the expression below but the line chart ... Show More

    Hi,

    I have a date and time field. I want to convert the field to MonthYear and use it in a line chart. I used the expression below but the line chart is not showing the monthyear as expected. Can anyone help please. Thank you. 

    LOAD
    "Submission Date",
    date(MonthStart(date#([Submission Date], 'DD/MM/YYYY hh:mm')), 'MMM-YYYY') as MonthYearEX,

    Submission Date customer Amount Expected
    30/01/2022 14:10 John Doe 23 Jan-22
    01/08/2023 16:15 John Doe 56 Aug-23
    02/07/2021 08:31 John Doe 42 Jul-21
    02/03/2024 10:34 John Doe 87 Mar-24
    02/06/2024 16:19 John Doe 26 Jun-24

    Bob07_0-1715599570937.png

     

    Show Less
  • forum

    New to Qlik Analytics

    Mastering Set-Expression

    Hi Qlik-Experts,   I want to generate a grid chart using two dimensions and calculate the relative fraction but aggregated by one of the dimension. Un... Show More

    Hi Qlik-Experts,

     

    I want to generate a grid chart using two dimensions and calculate the relative fraction but aggregated by one of the dimension.

    Unforturnately I am struggling right now.

    Attached screenshot shows, that the sum per each row seems to work.

    The overall "aggregated sum" is also correct (2.540.234), but for my understanding it would need to be shown in each row of the last column.

     

    Could you please help to push me in the right direction?

    Thanks in advande

    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!