Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 218,262 members
  • 5,039 online
  • 1,996,412 posts
  • 149,645 Solutions
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Welcome to Qlik Community

Recent Discussions

  • forum

    New to Qlik Analytics

    SUBSTRING Function. Exclude which contains part of the string

    Hi There, I want to apply filter to exclude those records which contains _RE from the Column1 while loading QVD. Note: Length of strings are not consi... Show More

    Hi There, I want to apply filter to exclude those records which contains _RE from the Column1 while loading QVD.

    Note: Length of strings are not consistent. 

    Example I have two columns and  ID is the primary key for the table. So, I want to extract only those records which do not have _RE from column 1 while loading the data.

    ID , Column1

    1,  A1234_RE

    2, A123678

    3, A123787910_RE

    4, B12384

    Please advice.

    Show Less
  • forum

    New to Qlik Analytics

    Loop

    I am trying to download data from hubspot loop is not getting all only first set every time i need to pass output value to URL using this variable (vR... Show More

    I am trying to download data from hubspot

    loop is not getting all only first set

    every time i need to pass output value to URL using this variable (vRowCount)

    i test with postman 

    ////////////below my script
    LIB CONNECT TO 'HubspotContacts'
    do while vMore = 'True';
     Trace($(vRowCount));
     
     
    RestConnectorMasterTable:
    SQL SELECT 
    "has-more",
    "vid-offset",
    "__KEY_root",
    (SELECT 
    "vid" AS "vid_u0",
    "canonical-vid",
    "portal-id" AS "portal-id_u0",
    "is-contact",
    "addedAt",
    "__KEY_contacts",
    "__FK_contacts",
    (SELECT 
    "__KEY_properties",
    "__FK_properties",
    (SELECT 
    "value",
    "__FK_hs_email_last_send_date"
    FROM "hs_email_last_send_date" FK "__FK_hs_email_last_send_date"),
    (SELECT 
    "value" AS "value_u0",
    "__FK_lastmodifieddate"
    FROM "lastmodifieddate" FK "__FK_lastmodifieddate"),
    (SELECT 
    "value" AS "value_u1",
    "__FK_hs_email_delivered"
    FROM "hs_email_delivered" FK "__FK_hs_email_delivered"),
    (SELECT 
    "value" AS "value_u2",
    "__FK_salesforcecontactid"
    FROM "salesforcecontactid" FK "__FK_salesforcecontactid"),
    (SELECT 
    "value" AS "value_u3",
    "__FK_salesforceaccountid"
    FROM "salesforceaccountid" FK "__FK_salesforceaccountid")
    FROM "properties" PK "__KEY_properties" FK "__FK_properties")
    FROM "contacts" PK "__KEY_contacts" FK "__FK_contacts")
    FROM JSON (wrap on) "root" PK "__KEY_root"
    HTTPHEADER "Authorization" "Bearer  ABABABABABA");
     
     
    [hs_email_last_send_date]:
    LOAD [value],
    [__FK_hs_email_last_send_date] AS [__KEY_properties]
    RESIDENT RestConnectorMasterTable
    WHERE NOT IsNull([__FK_hs_email_last_send_date]);
     
     
    [lastmodifieddate]:
    LOAD [value_u0] AS [value_u0],
    [__FK_lastmodifieddate] AS [__KEY_properties]
    RESIDENT RestConnectorMasterTable
    WHERE NOT IsNull([__FK_lastmodifieddate]);
     
     
    [hs_email_delivered]:
    LOAD [value_u1] AS [value_u1],
    [__FK_hs_email_delivered] AS [__KEY_properties]
    RESIDENT RestConnectorMasterTable
    WHERE NOT IsNull([__FK_hs_email_delivered]);
     
     
    [salesforcecontactid]:
    LOAD [value_u2] AS [value_u2],
    [__FK_salesforcecontactid] AS [__KEY_properties]
    RESIDENT RestConnectorMasterTable
    WHERE NOT IsNull([__FK_salesforcecontactid]);
     
     
    [salesforceaccountid]:
    LOAD [value_u3] AS [value_u3],
    [__FK_salesforceaccountid] AS [__KEY_properties]
    RESIDENT RestConnectorMasterTable
    WHERE NOT IsNull([__FK_salesforceaccountid]);
     
     
    [properties]:
    LOAD [__KEY_properties],
    [__FK_properties] AS [__KEY_contacts]
    RESIDENT RestConnectorMasterTable
    WHERE NOT IsNull([__FK_properties]);
     
     
    [contacts]:
    LOAD [vid_u0] AS [vid_u0],
    [canonical-vid],
    [portal-id_u0] AS [portal-id_u0],
    [is-contact],
    [addedAt],
    [__KEY_contacts],
    [__FK_contacts] AS [__KEY_root]
    RESIDENT RestConnectorMasterTable
    WHERE NOT IsNull([__FK_contacts]);
     
     
    [root]:
    LOAD [has-more] ,
    [vid-offset] ,
    [__KEY_root]
    RESIDENT RestConnectorMasterTable
    WHERE NOT IsNull([__KEY_root]);
     
     
    let vMore =peek('has-more',0,'root');
    let vRowCount =peek('vid-offset',0,'root');
    DROP TABLE RestConnectorMasterTable;
     
    loop
    Show Less
  • forum

    Qlik Compose for Data Warehouses

    Perfomance of query with multiple joins when inserting into TSTG table _P on mig...

    We recently migrated from SQL Server 2014 to SQL Server 2019. For one of the inserts in to the _P table that is labled "Inserting Top Rows into TSTG_E... Show More

    We recently migrated from SQL Server 2014 to SQL Server 2019. For one of the inserts in to the _P table that is labled "Inserting Top Rows into TSTG_Entity_NAme_P for existing objects" that joins to 10 files, it is now unable to complete after 24 hours instead of 3 minutes.

    Show Less
  • forum

    App Development

    Nested Set Analysis No Aggregation

    Hi, this has been driving me nuts and wondered if anyone would be able to help. So I have 2 tables, the first is in a table chart on a sheet, and I ne... Show More

    Hi, this has been driving me nuts and wondered if anyone would be able to help.

    So I have 2 tables, the first is in a table chart on a sheet, and I need to retrieve 2 fields from the 2nd one using set analysis:

    Field 1 Field 2 Field 3 Analysis 1 Analysis 2
    1 A V    
    2 B W    
    3 C X    
    4 D Y    
    5 E Z    

     

    Field 1 Field 4 Field 5 Field 6
    1 AAA 01/01/2024 Op1
    1 BBB 01/02/2024 Op2
    1 AAA 01/03/2024 Op2
    2 BBB 01/04/2024 Op1
    2 AAA 01/05/2024 Op3
    2 BBB 01/06/2024 Op4

     

    In the first table for Analysis 1, I have the following at it works great to retrieve the max date value:

    =MAX( {$<[Field 4] = {'AAA'}>} DATE( [Field 5], 'dd-MMM-yyyy'))

    In Analysis 2, I need the corresponding Field 6 that matches the Max Date.

    My latest attempt was to use this as a nested set analysis without aggregation, but it returns blanks for all records:

    ONLY( {$< [Field 5] = {"MAX( {$<[Field 4] = {'AAA'}>} DATE( [Field 5], 'dd-MMM-yyyy'))"}>} [Field 6])

     

    Show Less
  • forum

    Qlik Replicate

    Pk handling in Oracle19c

    Hi Community, I'm currently working with Oracle 19c as a source, and I've some tables without primary keys. Need to configure a task for a full load w... Show More

    Hi Community,

    I'm currently working with Oracle 19c as a source, and I've some tables without primary keys. Need to configure a task for a full load with Change Data Capture (CDC). How should I proceed in managing the absence of primary keys in this scenario? Your guidance on handling this situation would be greatly appreciated.

    Regards,

    Pranita 

     

     

    Show Less
  • forum

    App Development

    Formatting Data in Tables / Pivot Tables

    Hi All. Having done some research I suspect I cannot get to what I want to achieve here, but this community has been great at helping so here goes. I ... Show More

    Hi All.

    Having done some research I suspect I cannot get to what I want to achieve here, but this community has been great at helping so here goes.

    I want to produce a table which is formatted in a more grouped manner (similar to a Pivot Table maybe), but rather than showing measures in the columns I need to show Dimensions - see example:

    Category & Control In Scope Implemented Evidenced Evidence Description
    Asset Management        
    - Asset Ownership Y Y Y Policy Document
    - Return of Assets Y N    
    - Inventory of Assets N      
    People Controls        
    - Employee Screening Y Y Y HR File Records

     

    In my ideal output rows would be grouped by the Category with the 'Controls' grouped by category (e.g. - Asset Ownership).

    Is there functionality in Qlik to do this, or if not are you aware of a extention which might help?

    Thanks once again.

     

    Mark.

    Show Less
  • forum

    Qlik Enterprise Manager

    QEM service can't start - Failed to connect to SQLite repository 'rtdata.sqlite'

    Hi Support,   We have recently seen an issue where the Qlik Enterprise Manager service fails to start with the QEM logs indicating the following error... Show More

    Hi Support,

     

    We have recently seen an issue where the Qlik Enterprise Manager service fails to start with the QEM logs indicating the following error:
    "[ERROR] REPO-E-FACSQLREP, Failed to connect to SQLite repository 'C:\Program Files\Attunity\Enterprise Manager\data\rtdata.sqlite' "

    We were able to resolve the issue by stopping the QEM service and renaming the rtdata.sqlite file to rtdata_old.sqlite, and then renaming the rtdata.new.sqlite file to rtdata.sqlite. After then running the command to upgrade the repository (aemctl.exe repository upgrade), the QEM service was able to run and the console could be accessed.

    Previously when we have seen an issue with a data repository file it has been a result of memory or disk space issues on the server. However, in this case, there have been no reported memory/disk space issues on the server. What we'd like to understand is what are the possible reasons the rtdata.sqlite file becomes unreadable/corrupted.

    This instance of Enterprise Manager is v2023.11.0.259

     

    Thanks,

    Nak

    Show Less
  • forum

    Qlik Replicate

    Qlik Replicate | SAP Application | Cannot load <sapnwrfc.dll

    While creating an source end point of SAP Application in Qlik Replicate, I am getting the following error:     Note: I have added sapnwrfc.dll file i... Show More

    While creating an source end point of SAP Application in Qlik Replicate, I am getting the following error:

     

    Abhagtani_0-1687852632428.png

     

    Note: I have added sapnwrfc.dll file in environment variables also still I am facing the same issue. Also, same issue appeared for me in QCDI.

    Show Less
  • forum

    Qlik Replicate

    Error [SOURCE_CAPTURE] "The command has timed out"

    Hi, Need advise.  Source DB from Sybase end point. Target DB is Oracle end point. Total 18 tables to replicate directly. There are 2 tables having CLO... Show More

    Hi,

    Need advise. 

    Source DB from Sybase end point. Target DB is Oracle end point. Total 18 tables to replicate directly. There are 2 tables having CLOB column type. 1 table having 6 CLOB column and another table having 1 CLOB column. Both tables have primary key

    We had tried to configure Sybase source end point with 2 parameter:

    1) cdcTimeout = 6000

    2) executeTimeout = 600

    We still hit the same error:

    [SOURCE_CAPTURE  ]E:  RetCode: SQL_ERROR  SqlState: HYT00 NativeError: 30149 Message: [SAP][ASE ODBC Driver]The command has timed out. [1022502]  (ar_odbc_stmt.c:4693)

    [SOURCE_CAPTURE  ]E:  Failed to position logtransfer [1020401]  (sybase_endpoint_capture.c:3352)

    [SOURCE_CAPTURE  ]E:  Error executing source loop [1020401]  (streamcomponent.c:1942)

     

     

     

    Show Less
  • forum

    Qlik Replicate

    Failed to prepare sqlite statements for CAPTURE MODE &amp; Failed to init cdc tabl...

    when we are trying for CDC Load for ODBC connection the job is getting failed with below errors.   Error 1:  Stream component 'st_0_QAD_PERU' terminat... Show More

    when we are trying for CDC Load for ODBC connection the job is getting failed with below errors.

     

    Error 1: 

    Stream component 'st_0_QAD_PERU' terminated
    Cannot initialize subtask
    Failed while preparing stream component 'st_0_QAD_PERU'.
    Failed to prepare sqlite statements for CAPTURE MODE
    Failed to prepare statement - select confirmed_ctx from confirmations where table_id=? -  
    SQLite general error. Code <1>, Message <no such table: confirmations>.

     

     

    Error 2 :

    Stream component 'st_0_QAD_PERU' terminated
    Stream component failed at subtask 0, component st_0_QAD_PERU
    Error executing command
    Failed to init cdc table table 1
    Unable to get column_def for context Field 0 of table 1

     

    Attaching the logs for both Error

     

    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!