Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 217,903 members
  • 7,005 online
  • 1,995,951 posts
  • 149,594 Solutions
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Welcome to Qlik Community

Recent Discussions

  • forum

    Qlik Application Automation

    qlik sense on a tv screen with Optisings solution

    hi,  i need help. we want to put a qlik app on  tv screen with a Optisings solution. we have every time a mistake like this. what we can do that we do... Show More

    hi, 

    i need help. we want to put a qlik app on  tv screen with a Optisings solution. we have every time a mistake like this. what we can do that we don t have this? mistake 500. what is it?

    Controller1_0-1714059104214.jpeg

     

    Show Less
  • forum

    App Development

    Format dimension Inline table script

    I have a QV report that I inherited.  It uses an Excel template to read in the left side row labels and the expressions for each cell.  Then there is ... Show More

    I have a QV report that I inherited.  It uses an Excel template to read in the left side row labels and the expressions for each cell.  Then there is an inline table

    This is the excel template-

     

    Brip51_0-1713970985888.png

     

    Then the inline table -

    LOAD
    IF(Match(RowNo(), 1, 4, 6, 10, 15, 17, 20, 22, 26, 29, 31, 34), '<b>') AS _Formatting,
    RowNo() AS _Index,
    _Metric,
    _ExpectedPVCashFlow,
    _Expression2,
    _Expression3,
    _Expression4,
    _Expression5,
    _Expression6,
    _Expression7,
    _Expression8,
    _Expression9,
    _Expression10,
    _CSMLessLRC,
    _Expression11,
    _Expression12,
    _Expression13
     
    FROM $(v_ExcelSource)ToaRe Tracking IFRS PAA.xlsx
    (ooxml, embedded labels, table is IFRSRD);

     

    Then the table uses _metric as a dimension.  Here is the QV report

    Brip51_1-1713971390270.png

     

    I am trying to format the row labels with indentation.  I can make them bold by including

    <b> in the _Format column.

     

    I want to indent particular rows like such –

    CHANGES IN THE STATEMENT OF PROFIT OR LOSS & OCI

        Modified Retrospective

        Fair Value

    Other

    Insurance Revenue

          Incurred claims and other insurance service expenses

          Amortization of insurance acquisition cash flows

              Losses and reversal of losses on onerous contracts

              Adjustments to liabilities for incurred claims

    Insurance Service Expense

        Investment components

    Insurance Service Result

     

     

     

    I have tried to use the format column and &nbsp to insert spaces, but that did not work

    Is this possible to do ?

    Any thoughts on this would be greatly appreciated.

    Thanks,

    Brian

     

    Show Less
  • 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

    QlikView App Dev

    reading xml

    HelloI'm reading a qvd file which contains data for a table that has a column whose data is in xml formatI'm reading the xml field and then parse it t... Show More

    Hello

    I'm reading a qvd file which contains data for a table that has a column whose data is in xml format

    I'm reading the xml field and then parse it to get the fields in the xml tags along with their values

    during reload I get an error saying

    An invalid character was found in text content.

    On line number: 1. On column number: 659.

    but I don't have that number of columns?

    Check attached QVW and QVD file

    the script works fine if I put the condition where RecNo < 367

    but if I remove this condition the script works fine - and I have to in order to read all data

    can someone help me identify what might be wrong?

    Show Less
  • forum

    New to Qlik Analytics

    Geo Map shouldn't affect when select on yearmonth filter

    Hi Everyone, so I have geo map which shouldn't affect when I select year month, So I have provided the expression to ignore this dimension but in size... Show More

    Hi Everyone, so I have geo map which shouldn't affect when I select year month, So I have provided the expression to ignore this dimension but in size&shape properties, there are two layers point layers and area layers, except size&shape all the properties are dimension, so How should I stop the dimension from reflecting from year-month?
    right now after selecting it is removing countrys(area layer) and some station(point layer) when I select year-month.
    Used expression: SUM({<[YEAR_MONTH]=>}[GEO_AVG_PRICE] * [GEO_QTY])

    Before selecting year month filter:

    Lucius_Artorius_Castus_0-1714049906784.png


    after selecting (it shouldn't change anything, It should show the map as it was before as in above image):

    Lucius_Artorius_Castus_1-1714049952275.png

     

    Show Less
  • forum

    App Development

    Group and get latest classification of a week

    Hello everyone,  please refer to snapshot , the input table has dates and classification column along with other columns. I want to create this shown ... Show More

    Hello everyone, 

    please refer to snapshot , the input table has dates and classification column along with other columns. I want to create this shown output where latest classification is selected for each key as per week

    note: week starts on Mon and ends on Sun. And I have highlighted dates falling in same week.

    I want to do it at script level only.

    IMG_4892.jpeg

    Show Less
  • forum

    New to Qlik Analytics

    Dynamic date in the WHERE clause

    Hi There, I have the following SQL query, which retrieves data for the last 5 years based on the snapshot taken at the start of the financial year. I ... Show More

    Hi There,

    I have the following SQL query, which retrieves data for the last 5 years based on the snapshot taken at the start of the financial year. I would like to make it dynamic so that I don't have to modify the code next year.

    I would greatly appreciate your guidance on how to achieve this.

     

    SQL_EXTRACT:
    SQL
    WITH sample_data AS (
        SELECT id,
            1 AS count
        FROM table
        WHERE TO_DATE('2023-07-01', 'YYYY-MM-DD') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
     
        UNION ALL
     
        SELECT id,
            1 AS count
        FROM table
        WHERE TO_DATE('2022-07-01', 'YYYY-MM-DD') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
     
        UNION ALL
     
        SELECT id,
            1 as count
        FROM table
        WHERE TO_DATE('2021-07-01', 'YYYY-MM-DD') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
     
        UNION ALL
     
        SELECT id,
            1 as count
        FROM table
        WHERE TO_DATE('2020-07-01', 'YYYY-MM-DD') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
     
        SELECT *
        FROM sample_data;
    Show Less
  • forum

    New to Qlik Analytics

    how to include an easy condition of a variable lower than another in a set analy...

    Hi all, I need to include a test in a set analysis. The expression that is not in bold works fine. I just need to include a condition now, i.e I need ... Show More

    Hi all,

    I need to include a test in a set analysis. The expression that is not in bold works fine. I just need to include a condition now, i.e I need to sum the sales when  weeks_left_to_event was a smaller number than current_weeks_left_to_event

    =Rangesum(Above(Sum({<year_event=, weeks_left_to_event<={"current_weeks_left_to_event"} ,month_event=, event_code=p(previous_event_code), event_to_compare=, event_name= >} quantity), 0, RowNo()))

    Any help much appreciated!!

    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

    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
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!