Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, im new in QlikView and in make a board to integrate data from different databases and all well fine, but when i try to see this values in a chart some data is not there and found a strange problem with dates and i don't know how to fix it, i attached a image
Regards
Isaias
This is the source
And this is the load script:
Indicadores:
Load
Bloque
,Año
,Mes
,Dia
,alt(date(date#(Fecha,'DD/MM/YYYY'),'DD/MM/YYYY'),date(date#(Fecha,'YYYY-MM-DD'),'DD/MM/YYYY')) As Fecha
,[PotencialBruta]
,[PotencialNeta]
,[PotencialAgua]
,[PotencialGas]
,PotencialCondensado
,[DiferidaBruto]
,[DiferidaNeta]
,[DiferidaAgua]
,[DiferidaGas]
,DiferidaCondensado
,[HorasDiferida]
,[BombeoBruta]
,[BombeoNeto]
,[BombeoAgua]
,BombeoCondensado
,[PozosActivos]
,[PozosInactivos]
,[PozosTempInactivos]
,Gas
,[Produccion]
,[ProduccionNeta]
,[ProduccionAgua]
,ProduccionGas
,[Existencias];
SQL SELECT [Bloque]
,Year(Fecha) As Año
,Month(Fecha) As Mes
,Day(Fecha) As Dia
, Fecha
,[PotencialBruta]
,[PotencialNeta]
,[PotencialAgua]
,[PotencialGas]
,[PotencialCondensado]
,[DiferidaBruto]
,[DiferidaNeta]
,[DiferidaAgua]
,[DiferidaGas]
,[DiferidaCondensado]
,[HorasDiferida]
,[BombeoBruta]
,[BombeoNeto]
,[BombeoAgua]
,[BombeoCondensado]
,[PozosActivos]
,[PozosInactivos]
,[PozosTempInactivos]
,[Gas]
,[Produccion]
,[ProduccionNeta]
,[ProduccionAgua]
,[ProduccionGas]
,[Existencias]
FROM [dbo].[t_01_Indicadores];
Indicadores2:
Load
Bloque
,Año
,Mes
,Dia
,alt(date(date#(Fecha,'DD/MM/YYYY'),'DD/MM/YYYY'),date(date#(Fecha,'YYYY-MM-DD'),'DD/MM/YYYY')) As Fecha
,[PotencialBruta]
,[PotencialNeta]
,[PotencialAgua]
,[PotencialGas]
,PotencialCondensado
,[DiferidaBruto]
,[DiferidaNeta]
,[DiferidaAgua]
,[DiferidaGas]
,DiferidaCondensado
,[HorasDiferida]
,[BombeoBruta]
,[BombeoNeto]
,[BombeoAgua]
,BombeoCondensado
,[PozosActivos]
,[PozosInactivos]
,[PozosTempInactivos]
,Gas
,[Produccion]
,[ProduccionNeta]
,[ProduccionAgua]
,ProduccionGas
,[Existencias];
SQL SELECT 0 As Bloque
,Year(Fecha) As Año
,Month(Fecha) As Mes
,Day(Fecha) As Dia
,Fecha
,[PotencialBruta]
,[PotencialNeta]
,[PotencialAgua]
,[PotencialGas]
, 0 As PotencialCondensado
,[DiferidaBruto]
,[DiferidaNeta]
,[DiferidaAgua]
,[DiferidaGas]
,0 As DiferidaCondensado
,[HorasDiferida]
,[BombeoBruta]
,[BombeoNeto]
,[BombeoAgua]
,0 As BombeoCondensado
,[PozosActivos]
,[PozosInactivos]
,[PozosTempInactivos]
,[PGMMPCD] As Gas
,[Produccion]
,[ProduccionNeta]
,[ProduccionAgua]
,0 As ProduccionGas
,[Existencias]
FROM [dbo].[v_qv_Indicadores];