Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 219,369 members
  • 6,601 online
  • 1,998,230 posts
  • 149,815 Solutions
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW

Welcome to Qlik Community

Recent Discussions

  • forum

    QlikView App Dev

    FirstSortedValue issues

    I am trying to pull my companies fixed assets and it is extremely over stated.  First issue is it is doubling up assets for multiple countries USA and... Show More

    I am trying to pull my companies fixed assets and it is extremely over stated.  First issue is it is doubling up assets for multiple countries USA and Canada.  I have added AffiliateCode = 77048 to the Where clause and that seems to have fixed that issue but our fiscal year ends in 03/31/YY. Before the year rolled over this wasn't an issue.  

    The 2nd issue is there are 2 record dates on some assets and I am trying to pull the newest date only.  I am trying to use FirstSortedValue with a minus weight to get the "last value".  Below is the code I am using.  What am I doing wrong?

     
     
    NoConcatenate
     
    famaster_mst:
     
    LOAD 
    AffiliateCode & '|' & dept as AffiliateCode|dept, 
    Trim(AffiliateCode & '|' & fa_num) as AffiliateCode|fa_num|seq#,
    Trim(AffiliateCode & '|' & dept & '|' & fa_class) as AffiliateCode|dept|fa_class,
    Trim(AffiliateCode & '-' & dept & '-' & fa_class & '-') as AffiliateCode|dept|fa_class|AssetType,
    AffiliateCode, 
         fa_num, 
         type,
         fa_desc, 
         dept, 
         loc, 
         tag, 
         fa_class, 
         acq_date,  // when they bought it not when depr starts
         vend_num, 
         mfg, 
         model, 
         serial, 
         fa_stat, 
         life, 
         units_cur, 
         read_prior, 
         read_curr, 
         insur_val, 
         insur_vnd, 
         insur_pol#, 
         insur_exp, 
         inv_freq, 
         inv_date, 
         dispose_date, 
         dispose_amt, 
         review, 
         post_from_po, 
         NoteExistsFlag, 
         FirstSortedValue(fa_num, -RecordDate) as RecordDate,
        // RecordDate,
           RowPointer, 
         CreatedBy, 
         UpdatedBy, 
         CreateDate, 
         InWorkflow, 
         date_to_start_depr, 
         Uf_SplitAsset, 
         Uf_SplitAssetDate, 
         Uf_Ringi_Number
    FROM
    [..\QVD\famaster_mst.qvd]
    (qvd)
    Where
    AffiliateCode = 77048 and
    fa_stat <>'D' and 
    Uf_SplitAsset <> 1 and // Exclude 'D' for disposals and include 'A' for Active and 'I' for Inactive assets
    fa_num = 412
    ;
     
    Exit SCRIPT;

     

    Show Less
  • forum

    New to Qlik Analytics

    Need help with Len(Trim(Category))

    I have a load script that had dash or -. I want to exclude them from the load script. I know I can do it within the app, but I like to do it on the lo... Show More

    I have a load script that had dash or -. I want to exclude them from the load script. I know I can do it within the app, but I like to do it on the load script.

    Len(Trim(Category))=’-‘ works, but I need the opposite     Len(Trim(Category))<>'-' The opposite does not work.

    Any help will be great.

    Show Less
  • forum

    App Development

    Let's Connect at Qlik Connect 2024: AnyChart Booth #807

    Qlik Connect 2024 is just around the corner, and we're thrilled to announce that AnyChart will be participating as an Emerald sponsor and exhibitor. ... Show More

    Qlik-Connect-AnyChart.png

    Qlik Connect 2024 is just around the corner, and we're thrilled to announce that AnyChart will be participating as an Emerald sponsor and exhibitor. Join us at Booth 807 from June 3–5 at Rosen Shingle Creek in Orlando!

    🚀 We'll be excited to showcase how our latest developments for Qlik Sense can elevate your data analytics efforts — come see our solutions in action!

    🔧 We're also eager to preview what's coming next and discuss how we can tailor our Decomposition Tree, Gantt Chart, Sunburst Chart, and other extensions to meet your specific needs — an excellent opportunity for you to get tools perfectly adapted to your unique data challenges.

    Visit our Qlik Connect event page for more details and to schedule a meeting with us (we'd love to prepare something especially for you).

    See you at Qlik Connect, Booth 807! 

    Show Less
  • forum

    Data Quality, Preparation & Stewardship

    Talend trest Post with body

    Hi,   This is our second week using talend as an organisation after training, so we are very fresh. I am currently sending a body in trest to retrieve... Show More

    Hi,

     

    This is our second week using talend as an organisation after training, so we are very fresh.

    I am currently sending a body in trest to retrieve a token. 

    This is my setup

    Rfoot_1-1715632700537.png

     

    This is my tmap. The response is a string and not json for some unknown reason so textractjson didn't work.

    Rfoot_2-1715632731130.png

     

    I get that token successfully in this format. 

    Rfoot_3-1715632841241.png

    How does one put that string value into a variable? 

     

    Regards,

    Ryan

     

    Show Less
  • forum

    App Development

    Section Access for Specific Users Only

    I am trying to do section access for only a specific user but all other users with access to the app I would like to grant full access. Is there a sim... Show More

    I am trying to do section access for only a specific user but all other users with access to the app I would like to grant full access. Is there a simple way of doing this without managing users in two places?

    Show Less
  • forum

    New to Qlik Analytics

    Selected buttons

    Is there any way that a button can change color it's selected? I have a button that is matched with a favorite and I want for the user to see that the... Show More

    Is there any way that a button can change color it's selected? I have a button that is matched with a favorite and I want for the user to see that the button has been selected instead of looking in the filters. Does this exists?

    For instance, I have the white button here that is not selected but when it does, it has to become grey.

     
    Phara_0-1715630989715.png Phara_1-1715631036867.png

     

    Thanks to all of you for your help!

    Show Less
  • forum

    App Development

    Enter More Than One String Value In A Variable

    Hello, I am trying to input more than one string in a variable and the best I could come with is this... MATCH (     TITLE,         'Engine Annual Re... Show More

    Hello,

    I am trying to input more than one string in a variable and the best I could come with is this...

    MATCH
    (
        TITLE,
            'Engine Annual Requirements',
            'Transmission Annual Requirements',
            'Suspension Annual Requirements',
            'Exterior Annual Requirements',
    )
     
    I am creating this variable in the front end. It is called AnnualCertification, I want to use it in multiple KPIs. One such KPI would have set analysis like this...
     
    COUNT({<CERTIFICATION_TITLE = {$(vAnnualCertification)}>} DISTINCT I_USR)
     
    I am getting an error when I do this. What am I missing here? I have a feeling it's something minor. Thanks in advance.
    Show Less
  • Data and Metadata Governance

    tRestClient error - HTTP 415 Unsupported Media Type

    I am running out of ideas as to why this URL request is throwing the 415 error. We have Talend Data Catalog and I am requesting the endpoint to logout... Show More

    I am running out of ideas as to why this URL request is throwing the 415 error. We have Talend Data Catalog and I am requesting the endpoint to logout the authentication that is currently logged in. I tested this request using the Data Catalog API tool and it was successful. I have the same setup as shown in the web tool in Studio, but I cannot figure out the problem. Can someone please help me? The attached document shows the request and 200 response log from the Data Catalog web tool along with the Studio request and 415 response log. Am I missing something?

    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 in a favorite that I will create, as an example, we're in May, I want to select April.

    Any expression for that please?

    Show Less
  • forum

    New to Qlik Analytics

    Calculate count of items over a rolling window?

    Hi, I have a main table which has customers for each day for a period of 2 years.  Example Date Customer 1-Jan-24 Customer1 1-Jan-24 Customer2 ... Show More

    Hi,

    I have a main table which has customers for each day for a period of 2 years. 

    Example

    Date Customer
    1-Jan-24 Customer1
    1-Jan-24 Customer2
    1-Jan-24 Customer1
    2-Jan-24 Customer1
    2-Jan-24 Customer3
    2-Jan-24 Customer2
    3-Jan-24 Customer2
    3-Jan-24 Customer4
    3-Jan-24 Customer4

     

    A distinct count of customers over each day gives me the below table

    Date count(distinct Customer)
    1-Jan-24 2
    2-Jan-24 3
    3-Jan-24 2

     

    Now, I have to calculate the distinct count of customers for each date over a rolling past 30-day window. 

    For example, on 1-Feb-24, I need the distinct count of customers from 1-Jan-24 to 1-Feb-24. On 2-Feb-24, I need the distinct count of customers from 2-Jan-24 to 2-Feb-24. I have tried the below methods so far.

    • Using the Rangesum with below function, but it aggregates the distinct count of Customers each day and sums it up over the rolling period.

    =rangesum(below(aggr(count(distinct Customer),Date),0,30))

    The problem with this is there will be duplicates across the 30 day period and the above formula adds them all up. 

    • Hard code the dates like below but it takes the overall table's max date so the count is common across dates.

    count(TOTAL DISTINCT{<Date={">=$(=date(max(Date)-30))<=$(=max(Date))"}>} Customer)

    • Rangecount doesn't seem to work either. It returns '30' for all dates.

    rangecount(below(aggr(count(distinct Customer),date),0,30))

    I would really appreciate any help that would help solve this issue.

    Thank you very much.

    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!