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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Nihonadmin
New Member

dax if condition for date

Hi Everyone,

 

Please anyone help me in  dax if condition 

 

1. IF ( Plannedenddate > Actualenddate then "Delayed" )

 

 

Thank You

1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

@Nihonadmin  Please try this...

 

if(Plannedenddate > Actualenddate,"Delayed")




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

Proud to be a PBI Community Champion




View solution in original post

3 REPLIES 3
pallavinegi
Frequent Visitor

Hi, thanks for the answer. 

Actually, here is the condition which I want to apply, but could not achieve the result. I want to see the average for the date (today's date-7).

Sheet1'[Sale Order Date].[Date]= today()-7
Thanks in advance!
Arul
Super User
Super User

IF ( Actualenddate>Plannedenddate,"Delayed")





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

Proud to be a Super User!


LinkedIn


PattemManohar
Community Champion
Community Champion

@Nihonadmin  Please try this...

 

if(Plannedenddate > Actualenddate,"Delayed")




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

Proud to be a PBI Community Champion




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors