cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Mike_Mace
Resolver I
Resolver I

Date greater than other date issue

Hi Forum,

 

Item lists A&B have common entries and I created a relationship between them.

I need to identify the common entries where date A comes is a later date to B

 
I thought this would be a straight forward one with following Dax, but the calculated result is only "no issue". I checked, there are definitely cases where date A are greater than date B while others are smaller. The calculation should find both issue & no issue
file on wetransfer link
 
date comparison = IF('A schedule'[date A].[Date] > 'A schedule'[date A].[Date],"issue","no issue")
 
 
 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Mike_Mace , Create a new column in A schedule like

 

if('A schedule'[date A] < minx(filter('B schedule', 'A schedule'[Item List A] = 'B schedule'[Item List B] ),'B schedule'[date B]) ,"Yes", "No")

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Mike_Mace , Create a new column in A schedule like

 

if('A schedule'[date A] < minx(filter('B schedule', 'A schedule'[Item List A] = 'B schedule'[Item List B] ),'B schedule'[date B]) ,"Yes", "No")

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors