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

Count Rows when Date is added on Table2

I am new to this forum and am power bi, desperately looking for DAX where. Please help!! Thanks in advance

 

I have 2 tables: Table 1 and Table 2, when Dates are added then the ID(3 and 4 below case) disappears from Table2 now I need to count how many move from table 2 to table1.

 

Table1 

ID  Titles  PlannedDate ReleaseDate  Path
3    Test3 6/1/2021       6/1/2021       Case1
4    Test4  8/1/2021      null                Case1

 

Table2
ID  Titles PlannedDate ReleaseDate  Path
1   Test1   null               null               Case2
2   Test2   null               null               Case2
3   Test3   null               null               Case2- (Case1)
4   Test4   null               null               Case2- (Case1)
5   Test5   null               null               Case2

1 ACCEPTED SOLUTION
Anonymous
Not applicable

 
Ended up adding another column to the table to recognize the move. I couldn't implement it on Power BI but the extra column(checkbox) helped.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

 
Ended up adding another column to the table to recognize the move. I couldn't implement it on Power BI but the extra column(checkbox) helped.
edhans
Super User
Super User

You cannot with the info you have given. When Power BI refreshes, it deletes the entire model and recreates it, so it doesn't know records "moved" from one table to another. (That isn't actually what it does - over simplification, but the point stands).

The only way you can count the records would be one of the following:

  1. your data source loads the old table to another place, then you could use something like EXCEPT() to see what is in the old table vs the new. Whatever is missing must have moved.
  2. Your data moving from one table to the other needs a date for the date of movement, then you filter based on that date - today's date for example.


Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

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.

Top Kudoed Authors