Forum Discussion
QQQWQQ
I have two tables, one of "Cost" and one of "Taxes", in the latter the "tax" column is updated every year.
also the column that I have to relate both tables is "IDCOST".
The first problem is that I tried the "Many to many" relationship and it didn't work.
I want to relate both tables to get a final result as shown.
that is, calculate the tax according to the year of the date column.
Hi ybatistamayo ,
You need to create a table with unique values for IDCOST and then pass the relationship of both table by this making many-to-many become two one-to-many and then you are abble to have the calculation.
Regards,
MFelix
2 Replies
- MFelixSuper User
Hi ybatistamayo ,
You need to create a table with unique values for IDCOST and then pass the relationship of both table by this making many-to-many become two one-to-many and then you are abble to have the calculation.
Regards,
MFelix
- v-joesh-msftSolution Sage
Hi ybatistamayo ,
If none of the tables selected for the relationship has unique values, you can refer to this article:
"We first need to create a new query, appending values from both existing ones: in the query editor, Home tab, select Append Query as New."