Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 219,304 members
  • 5,932 online
  • 1,998,141 posts
  • 149,807 Solutions
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Welcome to Qlik Community

Recent Discussions

  • forum

    New to Qlik Analytics

    Quarterly rolling sum

    Hi, I would like to calculate rolling sum like in the table below. Data should be grouped by column "Family". For each quarter I want to take a look a... Show More

    Hi, I would like to calculate rolling sum like in the table below. Data should be grouped by column "Family". For each quarter I want to take a look at current quarter and 2 quarters backwards. Any idea how to achieve this in script editor? I am not interested in set analysis using rangesum - above combination. Column "Quarter" comes from fiscal master calendar.

    Thank you.

    Family Quarter Qty RollingSum3 Family,Quarter,Qty
    A FY2023Q2 10 10 A,FY2023Q2,10
    A FY2023Q3 20 30 A,FY2023Q3,20
    A FY2023Q4 30 60 A,FY2023Q4,30
    A FY2024Q1 40 90 A,FY2024Q1,40
    A FY2024Q2 50 120 A,FY2024Q2,50
    A FY2024Q3 60 150 A,FY2024Q3,60
    A FY2024Q4 70 180 A,FY2024Q4,70
    B FY2023Q2 5 5 B,FY2023Q2,5
    B FY2023Q3 10 15 B,FY2023Q3,10
    B FY2023Q4 15 30 B,FY2023Q4,15
    B FY2024Q1 20 45 B,FY2024Q1,20
    B FY2024Q2 25 60 B,FY2024Q2,25
    B FY2024Q3 30 75 B,FY2024Q3,30
    B FY2024Q4 35 90 B,FY2024Q4,35
    Show Less
  • forum

    Connectivity & Data Prep

    copy value from field to another until specific line of a new value is reached

    I have dataset like this TranID Line nr itemCode LineType 123 1 Gitem1 group 123 2 item12 inv 123 3 item34 inv 123 4 - endgroup 123 5 Git... Show More

    I have dataset like this

    TranID Line nr itemCode LineType
    123 1 Gitem1 group
    123 2 item12 inv
    123 3 item34 inv
    123 4 - endgroup
    123 5 Gitem2 group
    123 6 item55 inv
    123 7 item6 inv
    123 8 item5 inv
    123 9 - endgroup
    1235 1 Gitem12 group
    1235 2 item12 inv
    1235 3 item34 inv
    1235 4 item76 inv
    1235 5 - endgroup
    1245 1 Gitem17 group
    1245 2 item6 inv
    1245 3 item8

    inv

     

    and I want a new field ItemGroup where is the group item of each line that it belongs too. 

    So I basically want to add the itemcode (example Gitem1) of the LineType "group" to new field ItemGroup

    to all the fields with the same TranID as long as LineType "endgroup" is reached. After that the next group's itemCode is added to the next lines to ItemGroup -field

    TranID Line nr itemCode LineType ItemGroup
    123 1 Gitem1 group Gitem1
    123 2 item12 inv Gitem1
    123 3 item34 inv Gitem1
    123 4 - endgroup Gitem1
    123 5 Gitem2 group Gitem2
    123 6 item55 inv Gitem2
    123 7 item6 inv Gitem2
    123 8 item5 inv Gitem2
    123 9 - endgroup Gitem2
    1235 1 Gitem12 group Gitem12
    1235 2 item12 inv Gitem12
    1235 3 item34 inv Gitem12
    1235 4 item76 inv Gitem12
    1235 5 - endgroup Gitem12
    1245 1 Gitem17 group Gitem17
    1245 2 item6 inv Gitem17
    1245 3 item8 inv Gitem17

     

     

    Show Less
  • forum

    App Development

    Filter Component in Mashup with TypeScript

    Hi Team,   I have developed an UI that is using highchart for graphs and getting data through hypercubes. Everything is working fine except data filte... Show More

    Hi Team,

     

    I have developed an UI that is using highchart for graphs and getting data through hypercubes.

    Everything is working fine except data filters that is getting passed from UI.

    I have 10+ filters and except date filters everything working as expected.

     

    Can any expert help me out here:
    Code:

    ------------------------------------------------------------------------------------------
    async onSelectSingleDate(date){
    const myDate = moment(date).format("YYYY-MM-DD");
    console.log('myDate', myDate);
    //create the expression - the result from this expression gets the values that are between the selected dates
    const dateExpression = `=Concat({<[Bookings Date]={"${myDate}"}>} distinct [Bookings Date],',')`
    console.log('dateExpression', dateExpression);
    //evaluate expression to get the selected dates
    const expressionResult = await this.qlikService.evaluateExpression(dateExpression);
    console.log('expressionResult', expressionResult);
    // collect the values to select
    const selectedValues = [{qText: expressionResult, qIsNumeric: true, qNumber: new QSDate(moment(expressionResult)).getIntegerValue() }];
    console.log('selectedValues', selectedValues);
    //apply values
    await this.qlikService.selectMultipleValuesPerField('Bookings Date', selectedValues);
    //refresh data
    await this.refreshData();
    }

    Sovon123_0-1715600375232.png

     

    Show Less
  • forum

    Qlik Reporting Service

    Automated reporting Excel to Dropbox

    Hi,  A customer of mine is requesting automated Excel reporting to Dropbox according to a particular template. However, I cannot seem to find a soluti... Show More

    Hi, 

    A customer of mine is requesting automated Excel reporting to Dropbox according to a particular template. However, I cannot seem to find a solution. 

    The customer wants a Excel report based on a table in the dashboard. Some changes need to be made, that we cannot include in the table in the dashboard. Therefore, we need a template in Excel, like in Tabular reporting. However, then we cannot distribute the report to a Dropbox folder. Due to the fact that we need to use Excel, application automation is not possible. 

    Does anyone know how to achieve this? 

    kind regards, 

    Sterre

    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

    Integration, Extension & APIs

    JWT session time limit

    Hello everybody! I'm setting up an integration with Json Web Token (JWT) and I want to create sessions longer than an hour, is this possible?   The pa... Show More

    Hello everybody!

    I'm setting up an integration with Json Web Token (JWT) and I want to create sessions longer than an hour, is this possible?

     

    The payload I am using is the following:

    const payload = {
          jti: uid.sync(32),
          sub: `${userName}`, // Usuário obtido do banco de dados
          subType: "user",
          name: `${userName}`,
          email: `${email}`,	
          email_verified: true,
          iat: Math.floor(Date.now() / 1000),
          exp: Math.floor(Date.now() / 1000) + 60 * 60, //Here I want to increase the timeout to more than an hour
          nbf: Math.floor(Date.now() / 1000),
          iss: "myISS",
          aud: "qlik.api/login/jwt-session",
          groups: [
            "Analytics Admin",
            "Data Admin",
            "Data Space Creator",
            "Developer",
            "Managed Space Creator",
            "Shared Space Creator",
            "Tenant Admin",
          ],
        };

     

    Show Less
  • forum

    Integration, Extension & APIs

    Correct management of sessions between QlikSense and third party website

    Hello! We have QlikSense on prem; at the authentication level, we would like to connect a website where users authenticate using Office365 accounts, t... Show More

    Hello!

    We have QlikSense on prem; at the authentication level, we would like to connect a website where users authenticate using Office365 accounts, to the QlikSense application.

    I'll try to explain our need: we have a website; users authenticate with their Office365 accounts. They exists also on QlikSense in the users list because the list is automatically updated every day. I want that when a user log in into the website, he is authenticated also on QlikSense. 

    How can I accomplish this?

    I tried to explore the solutions in the documentation, bot got lost.

    Thank you

     

    Show Less
  • forum

    New to Qlik Analytics

    Only show the newest date (valid from)

    Hi there 🙂 I have a list of products with list prices and different valid-from dates to this prices. Now I simply want to show only the newest valid-... Show More

    Hi there 🙂

    I have a list of products with list prices and different valid-from dates to this prices. Now I simply want to show only the newest valid-from dates (one per product). Thats it 😄 

    Coud you please help me out with the script function. Attached you find the table load.

    Thanks a lot!
    Pesche

    Show Less
  • forum

    New to Qlik Analytics

    Modelling of P&L table with different variables per line

    I need to modify an existing P&L table with several scenarios (using the Vizlib solution with external Excel table).Is it possible in a P&L table to u... Show More

    I need to modify an existing P&L table with several scenarios (using the Vizlib solution with external Excel table).

    Is it possible in a P&L table to use different factors per line?

    sum(  Value* $(=PL_View_Factor_Best) )

    I get the right calculation, when the factor is the same for all lines, but when using different values or even a conditional value for different scenarios, it returns no value.

    Is there another/better way to solve this?

    Show Less
  • forum

    Qlik Application Automation

    Export of data in a table

    I need to export data from a straight table as a CSV file without BOM and semicolon formatted.  In other cases I have been running a vb script that ex... Show More

    I need to export data from a straight table as a CSV file without BOM and semicolon formatted. 

    In other cases I have been running a vb script that exports data, but I havne't been able to find the one mentioned above.

    I also have another request,which is to add one first line with a fixed text. Any suggestions.

    We are using QlikView 12.60

    /John

    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!