Forum Discussion
RMV
Helper V
8 years agobalance from 2 tables
Hi, I have 2 tables from separate database for the same fields structure. We used the old database during 2016 and prior and then we moved to the new database for 2017 transactions and move some ba...
- 8 years ago
HI RMV
In that case
New Table = VAR RowstoExclude = FILTER ( OldDatabase, OldDatabase[Entity] = "A" && OldDatabase[Date] > DATE ( 2016, 11, 30 ) ) RETURN UNION ( EXCEPT ( OldDatabase, RowstoExclude ), NewDatabase )
Zubair_Muhammad
Community Champion
8 years agoHI RMV
In that case
New Table =
VAR RowstoExclude =
FILTER (
OldDatabase,
OldDatabase[Entity] = "A"
&& OldDatabase[Date] > DATE ( 2016, 11, 30 )
)
RETURN
UNION ( EXCEPT ( OldDatabase, RowstoExclude ), NewDatabase )RMV
Helper V
8 years ago