Forum Discussion
ojferreira
4 years agoFrequent Visitor
Calculate and filter using multiple tables
Hello, I have two data tables, one (I'll call it table 1) for occurrences by date, product, production line, and how long it lasted. And another one with the campaign with start and end date, lin...
- 4 years ago
This calculated column formula in the Campaigns table works
=CALCULATE(SUM(Occurences[Duration]),FILTER(Occurences,Occurences[Line]=EARLIER(Campaign[Line])&&Occurences[Product]=EARLIER(Campaign[Product])&&Occurences[Date]>=EARLIER(Campaign[Start date])&&Occurences[Date]<=EARLIER(Campaign[End Date])))Hope this helps.
Ashish_Mathur
4 years agoSuper User
Cannot understand your requirement at all.
ojferreira
4 years agoFrequent Visitor
I need another filter for unique values in the table occurences, I have an identifier column that I created with concat. (&) on the occurences table.
Can you help me?
- Ashish_Mathur4 years agoSuper User
Had i understood your question, i would have answered it earlier itself.
- ojferreira4 years agoFrequent Visitor
How may I help you understanding? I don't know how else to explain it 😕
(There is also a language barrier where some information might be getting lost)