Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
It only filters the the records that are eqaul but not the one that are earlier ( less than )
Bonjour,
Je voudrais votre aide, je travail sur un rapport.
Je voudrais compte les occurences des memes valeurs qui se trouvent dans 4 differentes colonnes.
Ex :
Santé = CALCULATE(COUNTROWS(DataBase), DataBase[Réponse priorité 1]= "Santé"). Ça marche bien pour cet exemple, j'ai le nombre de fois où il y a Santé dans la colonne [Réponse priorité 1] de la Table "DataBase".
Maintenant je voudrais ajouter dans la même formule les colonnes [Réponse priorité 2] ; [Réponse priorité 3] et [Réponse priorité 4] pour avoir le nombre de fois où il y a Santé dans les 4 colonnes, sur une même carte dans mon rapport.
Apres je pourrais faire la mesure pour les autres types de réponse notamment L'Appui psychosocial ...
Hi @HITEK
First of all, thanks to @Dangar332 for your timely response.
Here is my suggestion.
Sometimes there is a relationship between the two tables can cause this situation, check whether there is a relationship between "Dates" and "Sheet1" tables, if the relationship is not necessary, please delete it and then check whether the formula works properly.
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Tks Yulia, unfrotunately It's not giving me the correct results, it omits nay records from previouse dates, < or > is taken into account, actualy retunrs no results when they are used on there own !
hi, @HITEK
try to add allexcept(dates,dates[date]) inside calculate
like
calculate(
countrows('sheet1'),
sheet[atd]<=max(dates[date]),
allexcept(dates[date])
)
Thanks Dangar
Unfrotunately that din;t do the trick, in the Dax it actualy dioesn;t even recognize any results if the < or > is used to filter and count.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |