Dax count based on two column conditions

Wishmaster89

Board Regular
Joined
Jan 10, 2022
Messages
77
Office Version
  1. 2021
  2. 2019
  3. 2016
Platform
  1. Windows
  2. MacOS
Hey guys

I am new to Power BI and i'm trying to replicate a report i have in excel/power query. I just want a measure to do a count based on two conditions but i can't get it to work, here is what i have tried.

Code:
Continuing learners = COUNTX (fILTER('AP Numbers final merge','AP Numbers final merge'[AP numbers.ILR Aims.Status]=1), 'AP Numbers final merge'[AP numbers.ILR Aims.Outcome]=8)
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
I’d be trying something like this

Continuing learners =
CALCULATE (
COUNTROWS ( 'AP Numbers final merge' ),
'AP Numbers final merge'[AP numbers.ILR Aims.Status] = 1,
'AP Numbers final merge'[AP numbers.ILR Aims.Outcome] = 8
)
 
Upvote 0
Solution

Forum statistics

Threads
1,226,694
Messages
6,192,473
Members
453,726
Latest member
JoeH57

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top