Skip to main content

Welcome to
Qlik Community!

cancel
Showing results for 
Search instead for 
Did you mean: 
  • 217,637 members
  • 7,476 online
  • 1,995,500 posts
  • 149,550 Solutions
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Welcome to Qlik Community

Recent Discussions

  • forum

    New to Qlik Analytics

    how to create a boolean if a date is 2 years before

    Hi all, I have a field named sold_date and want to create another that is a boolean. 1 if sold_date is 2 years ago from today. The sold date format is... Show More

    Hi all,

    I have a field named sold_date and want to create another that is a boolean. 1 if sold_date is 2 years ago from today. The sold date format is MM/DD/YYYY in the sheet of Qlik.

    I tried this but the new field is always 0.

    if(Date#("sold_date", 'MM/DD/YYYY') = Date(MonthStart(Today(), -24)), 1, 0) as last_10d_2y,

     

    Just in case, the script I have at the beginning of the load editor is this one:

    SET ThousandSep=',';
    SET DecimalSep='.';
    SET MoneyThousandSep=',';
    SET MoneyDecimalSep='.';
    SET MoneyFormat='$ ###0.00;-$ ###0.00';
    SET TimeFormat='h:mm:ss TT';
    SET DateFormat='M/D/YYYY';
    SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';
    SET FirstWeekDay=6;
    SET BrokenWeeks=1;
    SET ReferenceDay=0;
    SET FirstMonthOfYear=1;
    SET CollationLocale='en-US';
    SET CreateSearchIndexOnReload=1;
    SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';
    SET LongMonthNames='January;February;March;April;May;June;July;August;September;October;November;December';
    SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';
    SET LongDayNames='Monday;Tuesday;Wednesday;Thursday;Friday;Saturday;Sunday';
    SET NumericalAbbreviation='3:k;6:M;9:G;12:T;15:P;18:E;21:Z;24:Y;-3:m;-6:μ;-9:n;-12:p;-15:f;-18:a;-21:z;-24:y';

    MANY THANKS!!

    Show Less
  • forum

    New to Qlik Analytics

    Sorting of Month filter

    I have Month as a part of my key/link table since its in multiple tables. The Month is in text form. The issue is that when I put it in the filter pan... Show More

    I have Month as a part of my key/link table since its in multiple tables. The Month is in text form. The issue is that when I put it in the filter pane, its not showing me months in the right order. I have a master table for Date where the Month is mapped against CalenderGMonthNumber which gives it the Ids. I have tried sorting it by expression and putting CalenderGMonthNumber in it but its still not showing the right order. Can someone please help with a solution? 

    Show Less
  • forum

    New to Qlik Analytics

    Include NULL Values Handling in KPI charts in Qlik sense

    Hello Everyone, I have an issue with the Set expression in KPI chart. i'm calculating the percentage in my expression i'm using Parent incident id for... Show More

    Hello Everyone,

    I have an issue with the Set expression in KPI chart. i'm calculating the percentage in my expression i'm using Parent incident id for this column is having Null values i want to calculate the Null values. but while calculating the t column not considering. please find the below expression

    Num(sum({<Goal={'Cpi - Critical - Restore'},ID={'365'},Reported_13Month={1},[Status]={0},[Parent Incident ID]={'Null'}>}[Ticket Count])/sum({<Goal={'Cpi - Critical - Restore'},ID={'365'},Reported_13Month={1},[Parent Incident ID]={'Null()'}>}[Ticket Count]),'##.##%')

    please anyone can help me on this.

    Show Less
  • forum

    Connectivity & Data Prep

    Unable to get data from HIVE Table QVX_UNEXPECTED_END_OF_DATA

    I'm getting below error while trying to read data from a HIVE table 20240415T105556.712-0500 Error: QVX_UNEXPECTED_END_OF_DATA: SQL##f - SqlState: 08S... Show More

    I'm getting below error while trying to read data from a HIVE table

    20240415T105556.712-0500 Error: QVX_UNEXPECTED_END_OF_DATA: SQL##f - SqlState: 08S01, ErrorCode: 115, ErrorMsg: [Microsoft][Hardy] (115) Connection failed with error: SSL_read: error code: 0

    I'm getting this error only while fetching data from a particular table, for rest of the other tables it works fine with same connection.

    Can anybody give any pointers to how to debug this? I ran the same query via Hue SQL interface which HIVE provides, the query works fine and I'm able to export whole dataset

    Show Less
  • forum

    Qlik Application Automation

    SQL database load results in a diffrent data outcome

    Using a SQL Query on a SQL database returns the following data:     With the following result: But executing the same SQL query into Qlikview return... Show More

    Using a SQL Query on a SQL database returns the following data:

     

     

    Marius__0-1713939123412.png

    With the following result:

    Marius__1-1713939168097.png

    But executing the same SQL query into Qlikview returns the following:

    Marius__2-1713939237984.png

    toetsOnveranderd - Test with no change

    toetsText - Using Text script formula to get text property

    toetsJippo  - Self help method to force test property

    With the following outcome in Qlikview:

    Marius__3-1713939396974.png

    It seems that the 'raw' data in the SQL database is 0965 (OneID,toetsOnveranderd)

    But the SQL query in SQL returns (0965,965) (?)

    And it seems that the script formula "Text" first identify the property is integer makes it a number and the concerts it to text 0965 -> 965 -> "965" 

    [It must be noted that data input is from multiple sources into the SQL database].

    This outcome of the usage of the the text formula vs 'raw' data causes a different result/outcome.

    Any idea how to "fix" this?

     

     

     

     

     

    Show Less
  • forum

    App Development

    PUSANTE SELEZIONE

    Buongiorno, Come eseguire una selezione multipla su più elementi in un campo mediante un Pulsante ? (Azione: Seleziona nel Campo...) Con Sense si mett... Show More

    Buongiorno,

    Come eseguire una selezione multipla su più elementi in un campo mediante un Pulsante ? (Azione: Seleziona nel Campo...)

    Con Sense si mette il punto e virgola tra un elemento e l'altro, tra apici...ma in View non funziona...

    Grazie, Maurizio

    Show Less
  • forum

    QlikView Integrations

    Sending Email to More than Two Recipients Using Qlikview Macros through Outlook

    Dear All, Anytime I am sending emails to more than two recipients, the macros would give this error "that "Outlook does not recognize one or more name... Show More

    Dear All,

    Anytime I am sending emails to more than two recipients, the macros would give this error "that "Outlook does not recognize one or more names. " and it would highlight objMail.Send in my code. here is my  code: 

    Sub mSendMail(pdfFilePath)
    Dim objOutlk
    Dim objMail
    Const olMailItem = 0

    ' Check if Outlook is already running
    On Error Resume Next
    Set objOutlk = GetObject(, "Outlook.Application")
    On Error GoTo 0

    ' If Outlook is not running, start it
    If (objOutlk = "") Then
    StartOutlook
    ' Wait for 5 seconds for Outlook to start
    ActiveDocument.GetApplication.Sleep 5000

    ' Create a new instance of Outlook application
    Set objOutlk = CreateObject("Outlook.Application")
    End If


    ' Create a new mail item
    Set objMail = objOutlk.createitem(olMailItem)

    ' Recipient's email address
    objMail.To = "example@yahoo.com"

    objMail.Cc = "example2@gmail.com"

    ' Subject of the email
    objMail.Subject = "Testing " & Date()

    ' Body of the email
    objMail.HTMLBody = "Body of the email, This is an automatic generated email from QlikView."

    ' Add attachment (use the generated PDF file)
    objMail.Attachments.Add pdfFilePath

    ' Send the email
    objMail.Send

    ' Release resources
    Set objMail = Nothing
    Set objOutlk = Nothing
    End Sub

    if I add BCc to the ' Recipient's email address it would complain : 

    ' Recipient's email address
    objMail.To = "example@yahoo.com"

    objMail.Cc = "example2@gmail.com"

    objMail.BCc = "example3@abc.com" or I added two email to the cc like this 

    Recipient's email address
    objMail.To = "example@yahoo.com"

    objMail.Cc = "example2@gmail.com, example7@abc.com" it would say  "Outlook does not recognize one or more names. " and it would highlight objMail.Send in my code. here is my  code, 

    Please, what can I do to be sending emails to more than 10recipients at the same time .

    Thanks

    Show Less
  • forum

    App Development

    Showing Number a decimal point sequence

    Hi there. I have a series of documents which are version numbered, e.g. 5.1, 5.2, ...5.9, 5.10, 5.11 etc. Any number which ends in a zero is converted... Show More

    Hi there.

    I have a series of documents which are version numbered, e.g. 5.1, 5.2, ...5.9, 5.10, 5.11 etc.

    Any number which ends in a zero is converted to remove the zero (e.g 5.10 becomes 5.1)

    I would like two things:

    1 - Show numbers as thier original form, e.g. 5.10 should be 5.10

    2 - Allow sorting on the field ascending e.g (5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 5.9, 5.10, 5.11 etc)

    Thanks for your help.

     

    Mark.

    Show Less
  • forum

    App Development

    VBScript

    Hello,   I can create a Module with VB Script, whre can I find a descriptio: how to write a VB Script.   tanks in advance   Frédéric
  • forum

    New to Qlik Analytics

    Getting error for relaoding a task

    Hi,   I am getting an error for reloading a task(in attachment). Could anyone help?   Thanks in advance!
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!