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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Measure to see if after project start date

Hi,

 

I would like to create a measure to see if value occured on or after project start date, which is a measure. Struggling with this.

 

Table I have with this measure is not correct:

Measure 3 = IF(MIN(ID_registration[date_reg]) >= [Project Start date], 1, 0)
 
Table.PNG
 
Link to my pbix file: https://ufile.io/02msuxn5
 
Thanks!
1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @Anonymous ,

 

Not really sure if you need to have the lines that are blanked on your table but you can use the measure below:

 

Measure 3 =
SWITCH (
    TRUE,
    [Project Start date] = BLANK (), BLANK (),
    SELECTEDVALUE ( 'measure'[date] ) >= [Project Start date], 1,
    0
)

 

Be aware that I'm using the measure date column since is the one that is giving context to your measure, if you use another column date you need to use that column in your measure.

 

Check PBIX file attach.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

2 REPLIES 2
MFelix
Super User
Super User

Hi @Anonymous ,

 

Not really sure if you need to have the lines that are blanked on your table but you can use the measure below:

 

Measure 3 =
SWITCH (
    TRUE,
    [Project Start date] = BLANK (), BLANK (),
    SELECTEDVALUE ( 'measure'[date] ) >= [Project Start date], 1,
    0
)

 

Be aware that I'm using the measure date column since is the one that is giving context to your measure, if you use another column date you need to use that column in your measure.

 

Check PBIX file attach.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Great! Just what I was looking for!

Thanks @MFelix!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors