Forum Discussion
Juju-PowerBI
5 years agoFrequent Visitor
Filter count
Bonjour Je souhaiterais untiliser une mesure, avec la fonction COUNT, mais selon un filtre, compter les books pour lesquelles la valeur est supérieur à 4 Comment faire ? Merci
- 5 years ago
You're right:
Measure V2 = COUNTROWS ( CALCULATETABLE ( Table1, TREATAS ( FILTER ( DISTINCT ( Table1[Book] ), CALCULATE ( COUNT ( Table1[Book] ) ) >= 4 ), Table1[Book] ) ) )Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
AlB
5 years agoCommunity Champion
It looks like we're running in circles. For that you just need what I already offered as first solution, on a card visual. So I am repeating myself here:
Measure =
COUNTROWS (
FILTER ( DISTINCT ( Table1[Book] ), CALCULATE ( COUNT ( Table1[Book] ) ) >= 4 )
)
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
- Juju-PowerBI5 years agoFrequent Visitor
Merci AlB
Cependant la formule marche bien, mais je souhaiterais avoir le total en valeur qui est de 8