Forum Discussion
Anonymous
4 years agoNot applicable
Refer column from another table in formula
Hello Folks, I have two tables Table A UID Name Age B_Percent_Current DID 1 Donald Trump 50 12.5 1 2 George Bush 52 25 2 3 Kamal Harris 23 9.75 2 4 Zelensky 35 ...
Anonymous
4 years agoNot applicable
Hi Anonymous ,
If you consider using Dax to solve the problem, please create a calculated column.
B_Percent_New =
VAR _value = LOOKUPVALUE('Table B'[Percent Value],'Table B'[DID],'Table A'[DID])
RETURN
IF('Table A'[DID]=1,'Table A'[B_Percent_Current]+_value)
The result looks like this.
And there is no relationship between the two tables.
Attach the PBIX file for reference. Hope it helps.
Best Regards,
Community Support Team_Gao
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data