Forum Discussion
Comparing date column from different tables
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:
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 :
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:
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