Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
hilmignc
Contributor
Contributor

2 Table's different dates with one filter

Hi,

I got two tables "Sales" and "Production". I just have keyfldmaterial same.

I want to filter date, example: 2020, sales (Validfrom) and production (Postdate) in 2020 must be show.

They are seperated 2 table on screen, but i want managed those dates with one mastercalendar.

"sales" (Validfrom) not equal "production" (Postdate)

Can you help me, thanks 🙂

 

LOAD doctype,
docnum,
validfrom,
quantity,
grandtotal,
keyfldmaterial;

[Sales]:
SELECT "doctype",
"docnum",
"validfrom",
"quantity",
"grandtotal",
"keyfldmaterial"
FROM "SALES";

LOAD

keyfldmaterial,
potype,
prdorder,

quantity,
postdate;

[Production]:
SELECT 
"keyfldmaterial",
"potype",
"prdorder",
"quantity",

"postdate"

FROM "Production";

 

Labels (2)
2 Replies
Vegar
MVP
MVP

You could take a look at HICs good old blog post on Canonical Date. 

https://community.qlik.com/t5/Qlik-Design-Blog/Canonical-Date/ba-p/1463578

hilmignc
Contributor
Contributor
Author

Hi again, i solve my problem shoter way.

I defined one keyflddate for mastercalendar and other two tables. its worked for me.

example;

[Production]:

 "postdate" as keyflddate;

[Sales]:

"validfrom" as keyflddate;