Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey,
Was wondering if anyone has ran into the following issue.
I am trying to find Closest date to another date while having multiple entries.
I calculate days between and filter for min datebetween, but the issue is that i get multiple min days when grouping for final table. first sorted does not work because a single customer can have multiple events with same days between usually 0. And i cannot think of any key that would work
looks something like this:
TMP:
NoConcatenate
LOAD
*
where DAYS_BETWEEN >= 0 ;
load*,
if(isNULL(days_between_TEMP),0,days_between_TEMP) as DAYS_BETWEEN;
load *, EVENT_DATE - RISK_DATE as days_between_TEMP
RESIDENT QUACK;
FINAL:
LOAD CUSTOMER_ID,
SCORE,
EVENT_DATE,
MIN(DAYS_BETWEEN) as DAYS_TO_RISK
Resident TMP
group by CUSTOMER_ID,EVENT_DATE,RISK_DATE,SCORE;
DROP TABLEs QUACK, TMP;
I have a pax flow forecast per date and time. the range per date is from 06:00 hours till 22:00 hours. For everyday, the forecast can be per quarter. I noticed that some quarters are missing for some dates.
I would like to have a table where each date has alle the quarters in the range from 06:00 till 22:00. which means 60 quarters per date. I am looking for a way/the best way to get this in my date, perhaps in some sort of date calendar which can be joined with the other table containing the pax flow per filter.
I think I would need a script which generates for all dates present in the forecast table, a table with alle the quarters, from 06:00 till 22:00.
Hi @john_wang / @Dana_Baldwin
Can you please share how can we create authorization Object /QTQVC/RFC, from the user guide I don't see all the steps to create it. And why it is needed, also I am not able to search for some custom tables, is it due to not available of authorization Object /QTQVC/RFC ?
Thanks in advance!!
Regards,
Sukanya!!
Hi to all,
I configured an ODBC connection to SQL via Direct Access Gateway.
I visualize correctly all database tables but when select one of them I get the error in the object:
"Command preview returned non-success: ERROR [HY090] [Microsoft][Driver Manager ODBC] Lunghezza della stringa o del buffer non valida".
I tried to change some connection parameters but without success.
Someone could help?
Thanks in advance
Hi,
I'm trying to create defined functions to make some expressions more readable, but I can't find a workaround to not expand a $() using SET.
For instance:
SET someFunction =
(Sum(Aggr({<store= {$1}>} Revenue, store)) / Aggr(NoDistinct Only({1<key_calendar = {"$(=Floor(vToday - 1))"}, store = {$1}>} growth_idx), store));
When this function is loaded, it expands the set analysis "$(=Floor...)" and returns blank, as expected. Is there a way to delay the expansion to the front end? I've tried multiple things, like using Chr(34) for the " and Chr(36) for the $. They all come as text tho.
Hi All,
I have the following data. I would like to plot 100% stacked bar chart based on the earliest sale date with whether the product has been sold within a month or not. As you can see, the product can be sold in multiple times in various dates. I would like only to use the earliest first sale date to plot bar chart. How could I get a 100% stacked bar chart by earliest sale date of its year and month?
| Product type | First_sale_time | first_sale_withinmonth | on_shelf_date | first_sale_date |
| Product6065 | 1 | Within a month | 01/04/2025 | 02/04/2025 |
| Product6065 | 24 | Within a month | 01/04/2025 | 25/04/2025 |
| Product6065 | 01/04/2025 | |||
| Product6066 | 93 | More than a month | 18/12/2024 | 21/03/2025 |
| Product6066 | 18/12/2024 | |||
| Product6070 | 49 | More than a month | 09/12/2024 | 27/01/2025 |
| Product6070 | 09/12/2024 | |||
| Product6072 | 56 | More than a month | 05/02/2025 | 02/04/2025 |
| Product6072 | 05/02/2025 | |||
| Product6073 | ||||
| Product6074 | 82 | More than a month | 10/10/2024 | 31/12/2024 |
| Product6074 | 10/10/2024 | |||
| Product6075 | 29/05/2025 | |||
| Product6079 | 15/01/2025 | |||
| Product6080 | 17/06/2025 | |||
| Product6082 | 30/12/2024 | |||
| Product6084 | 167 | More than a month | 02/04/2025 | 16/09/2025 |
| Product6084 | 02/04/2025 | |||
| Product6085 | 3 | Within a month | 26/11/2024 | 29/11/2024 |
| Product6086 | 11 | Within a month | 22/11/2024 | 03/12/2024 |
| Product6086 | 22/11/2024 | |||
| Product6087 | 23 | Within a month | 29/10/2024 | 21/11/2024 |
| Product6087 | 29/10/2024 | |||
| Product6088 | 26 | Within a month | 20/12/2024 | 15/01/2025 |
| Product6088 | 20/12/2024 | |||
| Product6089 | 13/05/2025 | |||
| Product6091 | 27 | Within a month | 06/12/2024 | 02/01/2025 |
| Product6091 | 61 | More than a month | 06/12/2024 | 05/02/2025 |
| Product6091 | 06/12/2024 | |||
| Product6092 | 6 | Within a month | 14/02/2025 | 20/02/2025 |
| Product6092 | 14/02/2025 | |||
| Product6093 | 0 | Within a month | 12/01/2025 | 12/01/2025 |
| Product6093 | 12/01/2025 | |||
| Product6094 | 1 | Within a month | 12/02/2025 | 13/02/2025 |
| Product6094 | 12/02/2025 | |||
| Product6095 | 91 | More than a month | 18/03/2025 | 17/06/2025 |
| Product6095 | 18/03/2025 | |||
| Product6096 | ||||
| Product6097 | 37 | More than a month | 14/01/2025 | 20/02/2025 |
| Product6098 | 5 | Within a month | 05/06/2025 | 10/06/2025 |
| Product6098 | 05/06/2025 | |||
| Product6099 | 13/08/2025 | |||
| Product6100 | 08/04/2025 | |||
| Product6101 | ||||
| Product6102 | 26 | Within a month | 19/03/2025 | 14/04/2025 |
| Product6103 | 29 | Within a month | 05/02/2025 | 06/03/2025 |
| Product6103 | 05/02/2025 | |||
| Product6105 | ||||
| Product6106 | 111 | More than a month | 09/05/2025 | 28/08/2025 |
| Product6106 | 09/05/2025 | |||
| Product6107 | 7 | Within a month | 03/03/2025 | 10/03/2025 |
| Product6107 | 03/03/2025 | |||
| Product6108 | 153 | More than a month | 10/07/2025 | 10/12/2025 |
| Product6108 | 10/07/2025 | |||
| Product6109 | 19/12/2025 | |||
| Product6111 | 0 | Within a month | 27/03/2025 | 27/03/2025 |
| Product6111 | 27/03/2025 | |||
| Product6112 | 18 | Within a month | 24/01/2025 | 11/02/2025 |
| Product6113 | 19 | Within a month | 17/07/2025 | 05/08/2025 |
| Product6115 | 62 | More than a month | 06/02/2025 | 09/04/2025 |
| Product6115 | 06/02/2025 | |||
| Product6116 | 14/04/2025 | |||
| Product6118 | 99 | More than a month | 10/02/2025 | 20/05/2025 |
| Product6118 | 10/02/2025 | |||
| Product6119 | 17/02/2025 | |||
| Product6120 | 15 | Within a month | 28/01/2025 | 12/02/2025 |
| Product6120 | 51 | More than a month | 28/01/2025 | 20/03/2025 |
The 100% stacked bar chart I would like to show as below:
How can I draw X axis with the earliest first sale for each product. Apparently X axis is the dimension. I couldnt put Min([first_sale_date.autoCalendar.YearMonth]) as X axis.
Many thanks
If you haven’t explored this year’s Qlik Data & Analytics Trends yet, now is the perfect time. The entire experience is available on demand — and it’s packed with insight, inspiration, and practical guidance to help you stay ahead of what’s coming in 2026.
Alongside the full trends reveal, you’ll also get access to the webinar with Dan Sommer, where he breaks down the biggest shifts shaping data, AI, and analytics — and what they mean for the year ahead.
What’s waiting for you:
Whether you're evaluating AI capabilities, or modernizing your data foundation, this will give you a clear, actionable view of where the industry is heading.
I've created a tabular report template that uses data tables to create native Excel Pivot tables. The Pivot table structure is like so:
I need to have the report generate with Fiscal Quarter and PC Hier Level 2 collapsed. Is that possible?
Thanks,
Hello,
I'm facing a problem to create a table with cumulated amount from two tables.
I have a table BUSINESS_PERIOD with two colums :
- Business_code (Key)
- Period (year month format : yyyymm).
In this table you can find all period from the start of the business to the end.
I have a second table BUSINESS_ORDER with three columns :
- Business_code (Key)
- Period (year month format : yyyymm).
- Amount
In this table you can find only period where there is an amount associated.
I need to create a final table with three columns :
- Business_code (Key)
- Period (year month format : yyyymm).
- Amount
In this final table all period of each business need to be present and the amount is cumulated each month with previous months for each business.
You can find a screenshot of the tables with data in order to understand better.
I can't find how to do it...
I someone has an idea to help ! thank you
Hello,
I have a task copying data. I have a couple of rules where I add columns. 2 of those columns are:
- COMMIT_TIMESTAMP - it comes from header $AR_H_COMMIT_TIMESTAMP.
- REPLICATE_TIMESTAMP - it comes from expression datetime('now')
Its my understanding that both, in terms of time zone, would reflect the Qlik Replicate server time zone but curious enough I always see the REPLICATE_TIMESTAMP "happening" before the COMMIT_TIMESTAMP.
How is this possible? Am I missing something with the time zones?
FREE TRIAL
Data has stories to tell—let Qlik help you hear them. Start your FREE TRIAL today!
Dare to unleash a new professional you in 2026. Join Connect April 13–15 and supercharge your skill sets.
See why Qlik was named a Leader in the 2025 Gartner® Magic Quadrant™ for Data Integration Tool.
Trends 2026 Alert! Plug into this rewired framework for driving ROI from AI.
Learn why legacy data platforms can’t meet today’s AI and analytics demands and how Qlik provides a modern, independent, future-ready alternative.
Solve the real-world need for real-time data with Change Data Capture (CDC). What is CDC and how to master it?
Your journey awaits! Join us by Logging in and let the adventure begin.
MillerKnoll partnered with Qlik Talend® data solutions to unify data across its diverse systems, accelerating critical processes and nearly eliminating data integration issues organization-wide.
By implementing Qlik Analytics, Atria Convergence Technologies improves insight into churn, revenue, and downtime, driving faster decisions and more proactive customer support.
Hydronorth uses Qlik to replace disconnected data systems with a single source of truth, improving alignment, speeding up decisions, and reducing manual work.
With Qlik Cloud Analytics, Rexel boosts performance by enabling self-service analysis, reducing prep time, and giving 3,000 users access to trusted insights.
Join one of our Location and Language groups. Find one that suits you today!
Únete a la conversación con usuarios de Qlik en todo México: comparte ideas, haz preguntas y conéctate en español.
Qlik Communityの日本語のグループです。 Qlik製品に関する日本語資料のダウンロードや質問を日本語で投稿することができます。
Connectez-vous avec des utilisateurs francophones de Qlik pour collaborer, poser des questions et partager des idées.
The Qlik Product Recap showcases the newest features with quick demos and shareable resources to help you stay current?
You can test-drive Qlik for free? Try Qlik Talend Cloud to integrate and clean data without code, or explore Qlik Cloud Analytics to create AI-powered visualizations and uncover insights hands-on.
Salesforce’s acquisition of Informatica could put your flexibility on hold? Qlik makes it easy to keep your data initiatives moving forward.
You can move beyond batch processing and harness real-time data to power AI and faster decisions? Discover how in our new eBook, Mastering Change Data Capture.