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
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
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.