Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I try to concatenate these 2 tables and the fields from the budget one (.xlsx) results in nulls as you can see in the image attatched, where I know there are values. Is there something wrong?
Many thanks!!!
This is the code:
As below:
budget:
LOAD *,
"Código del evento" as event_code,
round(num(Interval(event_end_time - timestamp(FECHA), 'DD'))/7,2) AS weeks_left_to_event
FROM [lib://DataFiles/Ticketing 2024.xlsx]
(ooxml, embedded labels, table is [Hoja 3]);
Inner Join
ticketing:
LOAD *;
SQL SELECT *
FROM "dbt_xavi_marts"."marts_event_ticketing";
Hi, there's nothing wrong with the resultant table as when concatenating, all non-matching fields between the tables will be assigned null values.
What is the requirement here?
Hi BrunPierre!
Thank you for your answer.
I think you are correct. I removed the weeks_left_to_event and event_code from the table I provided attatched to the previous post, and I see all the data.
So maybe the problem is that the name of the columns event_code and weeks_left_to_event are shared in both tables and need to be the same name or maybe the type of data? How would you address it?
Many thanks
Sorry, what I finally need is an inner join, but not sure about the sintaxys in Qlik. It seems there is an error at where I put the text in bold.
This is the code:
As below:
budget:
LOAD *,
"Código del evento" as event_code,
round(num(Interval(event_end_time - timestamp(FECHA), 'DD'))/7,2) AS weeks_left_to_event
FROM [lib://DataFiles/Ticketing 2024.xlsx]
(ooxml, embedded labels, table is [Hoja 3]);
Inner Join
ticketing:
LOAD *;
SQL SELECT *
FROM "dbt_xavi_marts"."marts_event_ticketing";