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 )
RMV
Helper V
8 years agoHi Zubair_Muhammad,
Thanks for your advise.
The thing is for entity A data, I only need transactional data until Nov 2016 to calculate the accumulated balance.
Then Dec 2016 will take the total amount from the new database. The following monts ahead use accumulated balance of the transactional data from the new database.
While for entity B, the accumulated balance is all from the old database.
Any advise, please?
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 )- RMV8 years ago
Helper V