Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello ,
I want to create a fiscal year master calendar and I have used the below script :-
//-- Fiscal year Mastr Calendar---//
QuartersMap:
MAPPING LOAD
rowno() as Month,
'Q' & Ceil (rowno()/3) as Quarter
AUTOGENERATE (12);
Temp:
Load
min(EMLC_OK_DATE) as minDate,
max(EMLC_OK_DATE) as maxDate
Resident ZZ_FF_BUILD_DETAIL_DAILY;
Let varMinDate = Num(Peek('minDate', 0, 'Temp'));
Let varMaxDate = Num(Peek('maxDate', 0, 'Temp'));
DROP Table Temp;
TempCalendar:
LOAD
$(varMinDate) + Iterno()-1 As Num,
Date($(varMinDate) + IterNo() - 1) as TempDate
AutoGenerate 1 While $(varMinDate) + IterNo() -1 <= $(varMaxDate);
MasterCalendar:
Load
TempDate AS EMLC_OK_DATE,
week(TempDate) As RFS_Fiscal_Week,
Year(TempDate) As RFS_Fiscal_Year,
Month(TempDate) As RFS_Foscal_Month,
Day(TempDate) As Day,
// YeartoDate(TempDate)*-1 as CurYTDFlag,
//YeartoDate(TempDate,-1)*-1 as LastYTDFlag,
inyear(TempDate, Monthstart($(varMaxDate)),-1) as RC12,
date(monthstart(TempDate), 'MMM-YYYY') as RFS_Fiscal_MonthYear,
ApplyMap('QuartersMap', month(TempDate), Null()) as RFS_Fiscal_Quarter,
Week(weekstart(TempDate)) & '-' & WeekYear(TempDate) as RFS_Fiscal_WeekYear,
QuarterName(AddMonths(TempDate,3)) as RFS_Fiscal_QuarterName,
WeekDay(TempDate) as RFS_Fiscal_WeekDay
Resident TempCalendar
Order By TempDate ASC;
Drop Table TempCalendar;
exit script;
//==============================//
But I am not getting the proper output. Please see below :-
Not sure, what mistake I made in the above script. Can anyone please help me ?
Thanks in advance
Hello all,
I want the following output, e.g.:
Idea No. | Formula | Number Format | Displayed Output in Qlik Sense | Exported Output in Excel |
1 | =Money(round(..., .01)) | Automatically |
|
|
2 | =round(..., .01) | Currency with: #.##0,00 €;-#.##0,00 € |
|
|
My analytics team always export with the tick in keeping the table format, because they want to keep the colors. Therefore their output in excel is like the exported output in excel as above. Not ticking would be a solution for the decimals, but will remove the colored cells.
Why is my displayed output different to the exported output and how can I change that?
Hello,
Perhaps somebody can help me with a problem I'm having. I have the following QVD:
Test:
LOAD
CompanyId,
DateId,
StartingDate,
EndDate,
Revenue
The EndDate field value is always the same as the DateId (I use DateId for a different left keep, so I want to keep it that way). StartingDate is a calculated value and depending on DateId always a year plus 1 day back. So if DateId is 1-1-2024, StartingDate value will be 2-1-2023. For each DateId I have a calculated revenue (it is a number field). I want to know the total sum of all the revenue values between the given starting and enddate. So if my value on StartingDate is 2-1-2023, my DateId and EndDate will be 1-1-2024. In the loop it needs to calculate the sum of all the revenue values between the StartingDate and the EndDate. If the starting date is 3-1-2023 and the end date is 2-1-2024, I want the total sum of all the revenue values that fall between those dates. When I have these totals, I can then continue with my script and determine a total value for revenue in the past 12 months for each DateId.
What I would like to do is the following:
LET loopDate = MAKEDATE(2019,1,1);
DO WHILE loopDate <= MAKEDATE(TODAY())
LOAD
CompanyId,
SUM(Revenue) AS Total
RESIDENT Test
WHERE StartingDate >= NUM($(loopDate)) AND EndDate <= NUM(TODAY())
GROUP BY CompanyId;
LET loopDate = loopDate + 1;
LOOP
This loop isn't working however. Can you please help me with this?
If you need any additional information, please let me know.
Hi everyone,
I wanted to apply the below filter on replicate but dont know whats the correct syntax for that , can someone help me on this
select * from CMS_BDR_AGG_GROUP where keysum not in (select distinct '%X'||agg_id||'X%' as keysum from CMS_REF_AGG where (agg_type=3 and NAME='HBCA') OR (agg_type=2 and NAME like '%HBCA%')) ;
We have created a ticket with this question, and they suggested asking this question in the Community.
We would like to send a notification (email) when we get bad data.
Source target Oracle, data type character.
Endpoint target Confluent v7 Kafka Avro primitive.
Background.
We have an older app running that uses Oracle that has date columns defined as char(8). This means users can (and do) enter invalid dates. We transform the character to datetime, and can test using Sqlite for a valid date, but cannot send an email from Sqlite, or from Replicate. When the invalid date is sent to Kafka it shows up as 9999-12-31 23:59 so it's no longer valid. We haven't found an easy way in our data stream to capture the date. We have looked at the user defined function in the expression builder, but currently do not have a C programmer on in our group.
Question
Is there a way to send a notification (email) from Qlik on bad data?
Hi, I'm trying to configure my job and these are my expectations:
- From one side I've a tFlowTolterate that iterates the id value from a db table( table 1), an use it for a tRestClient params
- From the other side I've another db table (table2) with the existing customers addresses informations
I would only add the new addresses from the tRestClient to the table2 and for reach this goal I'm using tMap component.
Maybe it works, but I'm sure that I can do better than now. It's possible to query all the tRestClient addresses and only after it is over, pass them to tMap component?
If I using "on Component OK", I'm not able to using it because I see a prohibition icon.
Anyone can help me? Thanks!
Hi
Is it possible to create a link with wildcard selections?
Below is what I use totay
https://tenant.eu.qlikcloud.com/sense/app/App ID/state/analysis/options/clearselections/select/Field/[Value]/
This is what I would like to use
https://tenant.eu.qlikcloud.com/sense/app/App ID/state/analysis/options/clearselections/select/Field/[*value*]/
This is the sheet that I created in Tableau. How can I replicate it in QlikView? The values are the sum of sales (in the block). I have tried creating a pivot table, but I can't get months as columns; all months are in one column instead of different columns. Thanks in advance.
Bom dia pessoal,
Sabem se existe uma forma de fazer com que um qvw seja automaticamente carregado todos os dias pela manhã? Como se fosse simular um "clique" do cliente no qvw, via Access Point?
O motivo é que tenho um dashboard que demora muito tempo para ser carregado no browser, e se fosse possível deixar ele previamente carregado, quando o cliente fosse acessar o dashboard, ele abriria mais rápido na tela.
Desde já agradeço a ajuda!
Tengo una tabla con columnas creadas por condicionales, y quiero mostrar un KPI que me sume todos los unos que hay en la tabla de las dos columnas que señalo.
- count
- Real vs Requested
Como vemos el sumatorio de la columna da 4 y el Kpi me esta dando 1, por lo que no entiendo porque me da distinto si la función que he puesto en KPI es un agregate de esa columna, (adjunto foto)
Esta es la función del KPI de Real vs Requested
Elevate your career with Connect. 15 Hands-on workshops and certifications for Data and Analytics.
Get to know these Qlik experts driving innovation and excellence in data, analytics and AI.
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!