Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.