Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Bonjour,
J'ai sélectionné le client segment sur VIC :
et j'ai un calcul qui ne prend pas un compte la selection et un autre si. Mais celui qui ne prend pas en compte la selection ne fonctionne pas.
Calcul de base :
count(distinct
aggr(nodistinct {<[Report Date]>}
If(([Global Contactable] = 'true') and
sum(
{<
[Report Date], $(var_Reporting_Currency), [@QV_GIV.SOURCE]={'Sales'} ,
$(var_Customer_Begin_Date_Saleforce)={"<=$(var_Date_Sel)"}, $(var_Customer_End_Date_Saleforce)={">=$(var_Date_Sel_LLY)"},
[Customer First Purchase Date]={">=$(var_Date_Sel_LLY) <=$(var_Date_Sel)"}
>}
[Recruited Flag]
)=1,
[Customer Key]
),
[Customer Key]
)
)
Calcul qui ne prend pas en compte la selection du filtre:
count({<[Segment LVMH Label]>} distinct
aggr(nodistinct {<[Report Date], [Segment LVMH Label]>}
If(([Global Contactable] = 'true') and
sum(
{<
[Report Date], $(var_Reporting_Currency), [@QV_GIV.SOURCE]={'Sales'} ,
$(var_Customer_Begin_Date_Saleforce)={"<=$(var_Date_Sel)"}, $(var_Customer_End_Date_Saleforce)={">=$(var_Date_Sel_LLY)"},
[Customer First Purchase Date]={">=$(var_Date_Sel_LLY) <=$(var_Date_Sel)"}, [Segment LVMH Label]
>}
[Recruited Flag]
)=1,
[Customer Key]
),
[Customer Key]
)
)
le filtre client segment est bien le segment lvmh label