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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.