Forum Discussion
selectedvalues in Excel PowerPivot
- 4 years ago
nicolast29 , You need to some expression to return one value there like max , try
catégorie PCG =
Var Compte_Pcg ='Balance'[Compte]
Var fouchette_correspondante =FILTER(fourchettes, Compte_Pcg>=fourchettes[Début] && Compte_Pcg <= fourchettes[Fin])
return
CALCULATE(max(fourchettes[Catégorie]),fouchette_correspondante)
nicolast29 , You need to some expression to return one value there like max , try
catégorie PCG =
Var Compte_Pcg ='Balance'[Compte]
Var fouchette_correspondante =FILTER(fourchettes, Compte_Pcg>=fourchettes[Début] && Compte_Pcg <= fourchettes[Fin])
return
CALCULATE(max(fourchettes[Catégorie]),fouchette_correspondante)
- nicolast294 years agoHelper V
thanks a lot
It works
If i understant, whitout the max it return a table who is a problem, but with the max it return a single value and that it ?