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.
Team,
How do I count only"Met" from the below DAX results?
=IF( CALCULATE(sum('Data_C3 Level'[Vol L15]), 'Data_C3 Level'[Plan/Act]= "2022 Act") - CALCULATE(sum('Data_C3 Level'[Vol L15]), 'Data_C3 Level'[Plan/Act]= "2022 Plan")<0,"Not Met","Met")
Solved! Go to Solution.
Hello @Anonymous,
Can you please try:
Met Count =
COUNTROWS(
FILTER(
ALL('Data_C3 Level'),
IF(
CALCULATE(SUM('Data_C3 Level'[Vol L15]), 'Data_C3 Level'[Plan/Act] = "2022 Act") -
CALCULATE(SUM('Data_C3 Level'[Vol L15]), 'Data_C3 Level'[Plan/Act] = "2022 Plan") < 0,
"Not Met",
"Met"
) = "Met"
)
)
Hi @Anonymous
If you are slicing by multiple columns then you need to iterate over SUMMARIZE instead of VALUES
=
SUMX (
VALUES ( 'Data_C3 Level'[The Slicing By Column] ),
INT (
CALCULATE (
SUM ( 'Data_C3 Level'[Vol L15] ),
'Data_C3 Level'[Plan/Act] = "2022 Act"
)
- CALCULATE (
SUM ( 'Data_C3 Level'[Vol L15] ),
'Data_C3 Level'[Plan/Act] = "2022 Plan"
) < 0
)
)
Hello @Anonymous,
Can you please try:
Met Count =
COUNTROWS(
FILTER(
ALL('Data_C3 Level'),
IF(
CALCULATE(SUM('Data_C3 Level'[Vol L15]), 'Data_C3 Level'[Plan/Act] = "2022 Act") -
CALCULATE(SUM('Data_C3 Level'[Vol L15]), 'Data_C3 Level'[Plan/Act] = "2022 Plan") < 0,
"Not Met",
"Met"
) = "Met"
)
)
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 |
---|---|
10 | |
6 | |
4 | |
3 | |
3 |
User | Count |
---|---|
11 | |
11 | |
8 | |
8 | |
8 |