The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
@Irache , hope you are using true in switch
you can have a measure like
IF(
[_Pareto article val %] <= [Valeur Seuil pareto] ,
SWITCH( true() ,
Max('Data'[Statut ancienneté]) = "Catégorie 1 : <= 1 mois", "#118DFF",
Max('Data'[Statut ancienneté]) = "Catégorie 2 : <= 3 mois", "#EFD807",
Max('Data'[Statut ancienneté]) = "Catégorie 3 : <= 6 mois", "#F6A02F",
Max('Data'[Statut ancienneté]) = "Catégorie 4 : > 6 mois", "#FA0400",
"#a9a9a9"
)
)
Thanks for your response but this is not the expect result :
In this case I don't know if they have a several category for one value like for this graph: