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
Anonymous
Not applicable

Help! - How to lookup the second value of a date column in ascending order using a measure?

I have a date column.

I need to lookup the second value of the column and use that in a if condition.

Can I do this without ranking the column?

 

 

Any help would be appreciated,.

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Anonymous ,

 

Could you share some sample data and give the expected result?

 

Regards,

Jimmy Tao

Anonymous
Not applicable

I have two columns:

Start Date            End Date

      a                                a1

      b                                b1

      c                                c1

      d                                d1

 

My condition is to compare the two columns as follows:

if ( b>a1)

Yes - I should increment the no of comparisions - if (c>a1) & if (c>b1) and goes on if Yes again......

No - another condition.

 

Any help would be appreciated.

 

Thanks,
Anand

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.