Forum Discussion
yfquirogah
6 years agoHelper I
Filter in data base
I have this issue: I have 2 tables, the first one shows Positions that have been removed, the date this happened and a column that indicates a code that belongs to an specific area; the second ta...
- 6 years ago
Hi yfquirogah ,
Based on your description, you want to display "function" of Table 2 according to "month", "year" and "CE. Coste" in Table 1.
You can try to concatenate "month" "year" "CE. Coste" and create a relationship for the two tables.
Column = CONCATENATE('Table'[Year],CONCATENATE('Table'[Month],'Table'[Ce.coste]))Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
6 years agoSuper User
Hi,
Does this calculated column formula work?
Function = CALCULATE(FIRSTNONBLANK(Table2[Function],1),FILTER(Table2,Table2[month]=EARLIER(Table1[month])&&Table2[year]=EARLIER(Table1[year])&&Table2[Ce.Coste]=EARLIER(Table1[Ce.Coste])))
Hope this helps.