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
kafreitass
Helper I
Helper I

Compare two dates from different tables

Hi Guys, 
Someone can help me?
I have two tables and I would like to know if the Date of Table A is greater than the date of Table B. How could I make this comparison?

Picture1.png

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

Hi @kafreitass 

the 2 dates columns need to be in the same visual(Table) aren't they? if so then you can use DATEDIFF function to determine if the is negative or positive and know which one is greater.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

2 REPLIES 2
aj1973
Community Champion
Community Champion

Hi @kafreitass 

the 2 dates columns need to be in the same visual(Table) aren't they? if so then you can use DATEDIFF function to determine if the is negative or positive and know which one is greater.

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

@aj1973 Thank you. It worked perfectly.

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.

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