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.
I want to count column Status2020 not equal B and Status2021 = B
I use the formula as below.
COUNT(('Before 2021'[Status(2020)]),
Solved! Go to Solution.
Hi @Anonymous
COUNTROWS (
FILTER (
'Before 2021',
'Before 2021'[Status(2020)] <> "B" && 'Before 2021'[Status(2021)] = "B"
)
)
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
Hi @Anonymous
COUNTROWS (
FILTER (
'Before 2021',
'Before 2021'[Status(2020)] <> "B" && 'Before 2021'[Status(2021)] = "B"
)
)
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
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.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |