Bonjour,
Je rencontre un point bloquant que je n’arrive pas à résoudre.
Je souhaite créer un titre dynamique.
Lorsque rien n’est sélectionné, rien ne doit apparaître
Lorsque je sélectionne une ou plusieurs filières, je dois trouver la liste concaténée.
J’ai tenté cette formule DAX :
selected_filière = SELECTEDVALUE(‘Index_filières'[Filière],VAR __DISTINCT_VALUES_COUNT = DISTINCTCOUNT(‘Index_filières'[Filière])
VAR __MAX_VALUES_TO_SHOW = 5
RETURN
IF(
__DISTINCT_VALUES_COUNT > __MAX_VALUES_TO_SHOW,
CONCATENATE(
CONCATENATEX(
TOPN(
__MAX_VALUES_TO_SHOW,
VALUES(‘Index_filières'[Filière]),
‘Index_filières'[Filière],
ASC
),
‘Index_filières'[Filière],
“, “,
‘Index_filières'[Filière],
ASC
),
“, etc.”
),
CONCATENATEX(
VALUES(‘Index_filières'[Filière]),
‘Index_filières'[Filière],
“, “,
‘Index_filières'[Filière],
ASC
)
))