cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cottrera Regular Visitor
Regular Visitor

Count based on multiple criteria DAX

Hi I have a tAble called 'Job Schedue' with two columns. I need to perform a DAX countif function that counts the following

 

Count if Team = 'Sub Contractor' and Job Status = 'AWIAITING SCHEDULING' and ' = SCHEDUED'

 

Thank you

Table name -  Jobs Schedule
  
Job StatusTeam
Awaiting SchedulingSub Contractor
On HoldDLO
ScheduledDLO
CompletedSub Contractor
CompletedSub Contractor
Awaiting SchedulingSub Contractor
Awaiting SchedulingDLO
Awaiting SchedulingSub Contractor
CompletedDLO
Awaiting SchedulingSub Contractor
ScheduledSub Contractor
CompletedDLO
On HoldSub Contractor
ScheduledSub Contractor
ScheduledSub Contractor
  
Expected result6
1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Count based on multiple criteria DAX

Hi @cottrera 

Place this measure in a card visual:

 

Measure =
CALCULATE (
    COUNT ( Table1[Team] ),
    Table1[Team] = "Sub Contractor",
    Table1[Job Status] IN { "Awaiting Scheduling", "Scheduled" }
)

 

Please mark the question solved when done and consider giving kudos if posts are helpful.

Cheers  Datanaut

View solution in original post

1 REPLY 1
Super User
Super User

Re: Count based on multiple criteria DAX

Hi @cottrera 

Place this measure in a card visual:

 

Measure =
CALCULATE (
    COUNT ( Table1[Team] ),
    Table1[Team] = "Sub Contractor",
    Table1[Job Status] IN { "Awaiting Scheduling", "Scheduled" }
)

 

Please mark the question solved when done and consider giving kudos if posts are helpful.

Cheers  Datanaut

View solution in original post

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,781)