cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 359 members 3,734 guests
Please welcome our newest community members: