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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Comparing date column from different tables

Hello,
I have two different table and need to compare match date column from those tables 
for eg. i want show show platform wise data by match dates from two tables 
please help thank you in advance 
sharing ss of the tables
yf ss.PNG

4 REPLIES 4
Anonymous
Not applicable

Hello ,Thank you for your reply Sharing my dta atable with column names as i cannot send you the data
I have 2 data tables FF and YF
following are my requirements
1.Platformsie(Platform column in FF Table)FF counts and YF Counts
2.Region and dealersie(columns available in YF Table) FF and YF Counts

Things I have tried
since there is no common column between two Tables ,I have merged mobile number and date in both the tables and used that column to combine both the tables but as there is duplicationin both the tables it is gicing an many to many relationship error , please let me know thw solution for this

Capture 2ojan2.PNGCapture 20jan1.PNG

Mahesh0016
Super User
Super User

@Anonymous Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Anonymous
Not applicable

Hi @Mahesh0016  Thank you for your reply ,I wont be able to share file with you but the result which i want is ,I want to show Table(2)counts plarformwise ,so issue which i am facing is 
1.i want to match mobile numbers on both the tables
2.i want to match call date and created date on both tables
3.platform data is not available on table 2

Hi , @Anonymous 

According to your description, you wan to compare the three column in both tables.

Here are the steps you can refer to :
This is my test data:

vyueyunzhmsft_0-1674012598546.png

If you need to get the same rows as a table , you can click "New Table" and enter this:

Table = INTERSECT( SELECTCOLUMNS('Table A',"mobile num",[mobile num],"Name",[Name],"call Date",[created Date]) ,'Table B')

Then we can get this :

vyueyunzhmsft_1-1674013388870.png

 

If you just need the count of this table in the visual , you can create a measure:

Measure = COUNTROWS( INTERSECT( SELECTCOLUMNS('Table A',"mobile num",[mobile num],"Name",[Name],"call Date",[created Date]) ,'Table B'))

The result is as follows:

vyueyunzhmsft_2-1674013458044.png

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.