Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a set of data which contains dates reaching from 01-03-2024 to 30-03-2024 and various dates in 2023.
Now I need to get the first date out of my data set but out if this year. This would be 01-03-2024.
When I use min(), minstring(), makedate() the result is either 01-01-2024 or the first date in the data which is some day in 2023.
Is it possible somehow to get the desired 01-03-2024?
repctl checkpoint "task name" for downstream task (source: log stream task & target : oracle database) is not giving correct timestamp.
D:\bin>repctl getcheckpoint "TASK_INGCDC_02"
command getcheckpoint response:
{
"checkpoint": "checkpoint:V1#33512#1271;638506460899807820;20240120221751514712#0#0#*#0#137"
}
[getcheckpoint command] Succeeded
Regards
Dipankar
Hi,
I'd like to replace in my script some nested previous used to find the last value for a field (in this case, the supply source) in a table that have values similar to:
Tab:
Load *,
If(len(trim(Source2))= 0 or Source2='NULL' or Source2='-', Null(), Source2 ) as Source
INLINE [Trip Stop Type Source2 Pickup Delivered
a1 1 1 a 20 -
a1 2 2 - - 11
a1 3 2 - - 6
a1 4 2 - - 2
a1 5 3 b 18 -
a1 6 2 - - 16
a1 7 4 - - 3
](delimiter is ' ');
This would be a tipical trip, in which there are 4 types of Stops: 1 for initial product pickup, 2 for delivery to customers, 3 for others product pickup (e.g. in a provider) and 4 for product returned to plant.
I need to identify the source for each stop (that would be the previous source untill the truck stop in a provider, changing the source, type 3) and I solve this situation by using nested "previous" function as follow. Could you help me to simplify this scrip? (maybe with peek function or using other one).
My initial solution was:
RESIDENT Tab;
DROP TABLE Tab;
Hello,
Is it possible to do cell sorting by color in qlikView?
I have such data and I would like to sort in such a way that records must be colored first.
Please help!!!
Hi All,
I am working on VizLib replacement for one of my Qlik Dashboard. In the dashboard one of the sheet have VizLib Filter pane chart in which Dimension has taken CNSelect, and in conditional filtering =IF(ONLY({1} CNOrder)<13,True(),False()) expression has applied
in 2nd filter pane =IF(ONLY({1} CNOrder)<25 AND ONLY({1} CNOrder)>12,True(),False()) this expression has applied
2 filter panes has formed . I have selected value from 1st Filter pane and also value from 2nd filter pane, so it has not removed value from 1st filter pane when selected value from 2nd filter pane.
I need to implement exactly same with native Filter pane object in frontend only
Please help, it would be so helpful when someone solves this
Thanks!!
Dear Community 🙂
Here the "challenge":
I want to link a table that has three fields: "Product ID", "Supplier No" and "is_DefaultSupplier" as this table shows the Default Supplier every product with the Supplier No.
In the DataModel (attached), I have a table "ProductDim" with the field "Product ID" and a table "Supplier" with "Supplier No".
How can I link my new table? 🙂 Do I have to go via the LinkTable?
Thanks a lot and greetings from Switzerland!
Pesche
Qlik have introduced the Cyclic group to Qlik Sense Cloud, Which is a fantastic addition for you to dynamically change the dimension based on the cyclic group.. This opens the doors to dynamically use the the Cyclic group in Aggregation function in a calculation.
set vLocations = '=GroupDimensionLabel(Locations)';
Aggr(Rank(1-count({<[somefield]={'somevalue'}>}some_number)/count(some_number)),$(vLocations))
PERIOD_YEAR_MONTH | Equity current period | Equity Previous Year December |
2024-03
2024-02
2024-01
2023-12
2023-11
--
--
2023-01
2022-12
|
324234
755456
342555
657574
2131821
--
--
485325
723944
|
657574
657574
657574
723944
723944
--
--
723944
|
Hi There,
I have an SQL query that runs in QLIK. I have included some variables to take a snapshot from the current fiscal date, month, and year up to the last four FY years and append the tables to one table and with some conditions. If the stakeholders view this report in 2030, they should be able to view the data from 2020 till 2030, not just latest four years (Example: If stakeholders view the report in the year 2030, they should be able to view the data from 2030 till 2020). I am not sure how I can fit in all the below SQL query to loop through.
I appreciate your help on this.
/* From current to last 4 FY years */
Let vYear_Current = Year(Today());
LET vYear_Previous_1 = Year(Today()) -1;
LET vYear_Previous_2 = Year(Today()) -2;
LET vYear_Previous_3 = Year(Today()) -3;
LET vYear_Previous_4 = Year(Today()) -4;
LET vYear_Previous_5 = Year(Today()) -5;
/* From current to last 4 FY snapshot date */
let current_fy_Date = MonthStart(DayName(YearEnd(today(),-1, 8)));
let current_1_fy_Date = MonthStart(DayName(YearEnd(today(),-2, 8)));
let current_2_fy_Date = MonthStart(DayName(YearEnd(today(),-3, 8)));
let current_3_fy_Date = MonthStart(DayName(YearEnd(today(),-4, 8)));
let current_4_fy_Date = MonthStart(DayName(YearEnd(today(),-5, 8)));
POP:
SQL
WITH DF1 AS (
SELECT *
FROM ES_TABLE ES
WHERE
),
DF2 AS (
SELECT * FROM UG_ES_CTE
GROUP BY FY
ORDER BY FY DESC
),
DF3 AS (
SELECT '$(vYear_Previous_1)' || '/' || '$(vYear_Current)' as FY_YEAR_SNAPSHOT,
FROM ETD_TABLE
WHERE TO_DATE('$(current_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
UNION ALL
SELECT '$(vYear_Previous_2)' || '/' || '$(vYear_Previous_1)' as FY_YEAR_SNAPSHOT,
FROM ETD_TABLE
WHERE TO_DATE('$(current_1_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
UNION ALL
SELECT '$(vYear_Previous_3)' || '/' || '$(vYear_Previous_2)' as FY_YEAR_SNAPSHOT,
FROM ETD_TABLE
WHERE TO_DATE('$(current_2_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
UNION ALL
SELECT '$(vYear_Previous_4)' || '/' || '$(vYear_Previous_3)' as FY_YEAR_SNAPSHOT,
FROM ETD_TABLE
WHERE TO_DATE('$(current_3_fy_Date)', 'DD-MM-YYYY') BETWEEN EFEC_STRT_DT AND EFEC_END_DT
),
DF4 AS (
SELECT FY_YEAR_SNAPSHOT,
SUM(SALES) AS TOTAL_SALES
FROM UNIONS
GROUP BY FY_YEAR_SNAPSHOT
ORDER BY FY_YEAR_SNAPSHOT DESC
),
KPI AS (
SELECT 'Env' AS STRATEGY,
E.FY_YEAR_SNAPSHOT,
E.TOTAL_SALES AS POP_SALES,
FROM DF4 E
JOIN DF1 S ON S.PROFILE_FY = E.PROFILE_FY
ORDER BY FY_YEAR_SNAPSHOT DESC
);
Wondering about Qlik Talend Data Integration Sessions? There are 11, in addition to all of the Data & Analytics. So meet us in Orlando, June 3 -5.
Browse our helpful how-to's to learn more about navigating Qlik Community and updating your profile.
Your journey awaits! Join us by Logging in and let the adventure begin.
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.
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.
Join one of our Location and Language groups. Find one that suits you today!
A private group is for healthcare organizations, partners, and Qlik healthcare staff to collaborate and share insights..
Qlik Communityの日本語のグループです。 Qlik製品に関する日本語資料のダウンロードや質問を日本語で投稿することができます。
Welcome to the group for Brazil users. .All discussions will be in Portuguese.
Hear from your Community team as they tell you about updates to the Qlik Community Platform and more!