Forum Discussion
dombarg
8 years agoHelper II
how to create virtual relation with DAX
hello.i have two tables for which i want to make relation based on their similar ID column.for example please have a look at folloing picture: how is it possible to create relation in both...
Vvelarde
8 years agoCommunity Champion
Hi, You can use TREATAS.
AmountOFTable2RR =
CALCULATE (
SUM ( Table2[Amount] ),
TREATAS ( VALUES ( Table1[ID] ), Table2[ID] )
)Regards
Victor
- dombarg8 years agoHelper II
thank u very much.seems be amazing.
what if we first : "summarize left table by accont equal to 112" and then relate their relevant ID to right table?