Qlikview – Iniciando com valor (Gráfico e Lista dinâmica)
Sum({
[VF.Folha Ano]=
{$(=
if(isnull(getfieldselections([VF.Folha Ano])),
Max([VF.Folha Ano]),
getfieldselections([VF.Folha Ano],', '
,GetPossibleCount([VF.Folha Ano])
)
)
)},
[VF.Folha Mês]=
{$(=
if(isNull(getfieldselections([VF.Folha Mês])),
Month(Date(Max([VF.Folha Data]),'M')),
getfieldselections([VF.Folha Mês],', ',12)
)
)}
>} [VF.CREDITO])
-- SetAnalises do Gráfico
Count({
<[CalendarYear2000]=
{$(=
if(IsNull(getfieldselections([CalendarYear2000])),
Max([CalendarYear2000]),
getfieldselections([CalendarYear2000],', '
,GetPossibleCount([CalendarYear2000])
)
)
)}
>} [DA.Funcionário Mátricula])
Titulo Dinâmico
='Analítico - ('&
If(IsNull(GetFieldSelections([VF.Folha Ano],', ')),
$(=Max([VF.Folha Ano])),
GetFieldSelections([VF.Folha Ano],', ', GetPossibleCount([VF.Folha Ano]))
)
&')'