Forum Discussion
joshua1990
Post Prodigy
3 years agoCalculated column with filter on 2 different tables
Hi experts!
I have a transactional table that shows me the sales for each article for each week.
Now I would like to get the number of orders for each article. This is stored in a different table...
joshua1990
Post Prodigy
3 years agoFreemanZ : Thanks, but both tables are linked to a dimensional table that contains all articles and then also to a calendar.
FreemanZ
Super User
3 years agohi joshua1990
In your transaction table, what if you try to add a column like:
Column =
VAR _article = TransactionTable[article]
RETURN
COUNTROWS( FILTER( OrderTable, OrderTable[article] = _article) )