Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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.
Solved! Go to Solution.
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
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @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."
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
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em Português