Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Bonjour j’ai une colonne sous powerBI qui contient des nombres décimaux, de 1 à X Je souhaite compter le nombre d’occurrences supérieures à 4 dans une cellule grâce à une mesure à l’avance merci de votre aide
| colonne de 1 à X | inférieur 4 |
| 4,5;3;2;7;9;2 | 3 |
| 4,5;3;2;7 | 2 |
| 3;2;7;9;4 | 2 |
| 9,1;5,4 | 1 |
| 4,5;3;7;9;6 | 1 |
| 4,5;3;2;7;9;7 | 2 |
| 4,5;3;2;7;9;8 | 2 |
Solved! Go to Solution.
I don't understand. Your title and text indicate you want a count of the values greater than 4 (>4); but your example shows values less than 4 (<4) except for your 4th line: 9,1;5,4 for which you show a count of one (1).
Why is that line showing a count of one (1)?
I am assuming you use the comma for a decimal, and the semicolon is separating the different values in the cell. If that is not the case, please clarify.
What do you really want?
If you want values less than 4, add a custom column in Power Query with the formula:
=List.Count(List.Select(List.Transform(Text.Split([colonne de 1 à X],";"), each Number.From(_, "fr-FR")), each _ < 4))
If you want values greater than 4, just change the comparison:
=List.Count(List.Select(List.Transform(Text.Split([colonne de 1 à X],";"), each Number.From(_, "fr-FR")), each _ > 4))
I don't understand. Your title and text indicate you want a count of the values greater than 4 (>4); but your example shows values less than 4 (<4) except for your 4th line: 9,1;5,4 for which you show a count of one (1).
Why is that line showing a count of one (1)?
I am assuming you use the comma for a decimal, and the semicolon is separating the different values in the cell. If that is not the case, please clarify.
What do you really want?
If you want values less than 4, add a custom column in Power Query with the formula:
=List.Count(List.Select(List.Transform(Text.Split([colonne de 1 à X],";"), each Number.From(_, "fr-FR")), each _ < 4))
If you want values greater than 4, just change the comparison:
=List.Count(List.Select(List.Transform(Text.Split([colonne de 1 à X],";"), each Number.From(_, "fr-FR")), each _ > 4))
Merci, cela fonctionne parfaitement
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.