Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.
HTML
<center><font size="5000"> CONTROLE DE PROCESSOS ABERTOS - PRIMEIRO TRIMESTRE </font></center>

 

 

chartbgColorBlackorientationverticaltitleMar/18height200width400showShapesfalsetypeline
Gráfico
bgColorBlack
orientationvertical
titleJan/18
height400
width800
showShapesfalse
typeline
META01020304050Acumulado0
 012345
 0123456789101112131427477187104
Gráfico
bgColorBlack
orientationvertical
titleFev/18
height200
width400
showShapesfalse
typeline
15
META01020304050Acumulado 0 0 0 0 0 0 
 
 
 
Acumulado
0
27
47
71
87
104
 
 
 
 
01234
      

 

5

 

META01020304050Acumulado000000

 

SQL
dataSourceSIA
stylebackground-color:black;color:yellow; font-weight:bold;font-size:3.8em;
rowOrientationhorizontal
retainRowStyleOrderfalse
SELECT 
SUM(Case when cast(EXTRACT(ISODOW FROM current_date) as integer)-1 = cast(EXTRACT(ISODOW FROM P.dtInicio) as integer)-1 then 1 else 0 end) as "Semana",
SUM(Case when EXTRACT(MONTH FROM current_date) = EXTRACT(MONTH FROM P.dtInicio) then 1 else 0 end) as "Mês",
COUNT(*) as "Trimestre"
FROM esiaprocesso p
LEFT JOIN esiaCategoriaEvento c ON p.cdCategoriaevento = c.cdCategoriaEvento
LEFT JOIN esiaTipoPendencia tp ON p.cdTipoPendencia = tp.cdTipoPendencia
WHERE  date_part('year',p.dtInicio) >= 2018
And c.cdCategoriaEvento = 2
and tp.cdTipoPendencia = 1
and p.cdEntidade <> 526