Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
StuartSmith
Power Participant
Power Participant

Check if Month has any entries.

I have a table with "Name" and "Start Date".  Not all months have people starting and I need to have a way to check if a month has zero people starting.  Is there a way to do this in a measure, such as if a month has people starting, then 1 and if no one starting 0

 

Once I can identify months without entries, I (hopefully) can integrate this into a working measure I already have.

 

Hope that makes sence.

 
1 ACCEPTED SOLUTION
johnt75
Super User
Super User

IF( ISEMPTY('HR Data'), Var1, Var2 )

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

IF( ISEMPTY('HR Data'), Var1, Var2 )
StuartSmith
Power Participant
Power Participant

or is it possible to have something like...

 

IF(CountRows('HR Data' = 0, Var1, Var2), but for some reason the HR Data = 0 has a Red line under it.  Whats the correct syntax

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.