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
KellyLen
Helper III
Helper III

Formula for excluding dates bigger than in other date column

Hello,

 

I am having difficulties in creating a formula for date columns.

 

I have two different date columns:

image.png

 

What I would like to do is create another basic data changed column, where there is not presented dates that are bigger than posting data changed dates on a row. They can be presented with just null or something like that. 

 

Could you please help me? 

 

Best regards,

Kelly 

 

1 ACCEPTED SOLUTION

If i understand ur requirement corrently... 

 

If (Table1[Basic data changed] <= Table1[Posting data changed], Table1[Basic data changed], Blank())

View solution in original post

6 REPLIES 6
afzalphatan
Resolver I
Resolver I

Not clear .. can you please give the pic of sample data and the expected result..

I would like to get a new column, where are the same values as basic data changed column's values with one exception - if the basic data changed date is after posting data changed date, the result would be null

 

image.png

 

Kelly 

If i understand ur requirement corrently... 

 

If (Table1[Basic data changed] <= Table1[Posting data changed], Table1[Basic data changed], Blank())

Thanks! This seems to be working. 

 

Best regards,

Kelly 

Is there anyone who could help me with this formula? 

 

I tried to make with IF function, but that did not work. Maybe I just did not create it well. 

 

Waiting for your kind solutions,

Kelly 

My logic would tell me to create below seen formula, but this does not work for some reason.

image.png

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors