Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi EveryBody,
I have 2 tables
'Promotion' Table
Id IdTransaction CodePromo
1 1011 A
2 1012 A
3 1013 B
4 1014 C
5 1015 A
6 1016 B
7 1017 C
And 'Group' Table
IdPerson IdTransaction
13111 1011
13111 1012
13112 1013
13112 1014
13113 1015
13113 1016
13113 1017
I want a formula that add a new column [Idperson] in Promotion table
Thank's a lot
Solved! Go to Solution.
Hi @Anonymous
You may add a calculated column as below:
Column = LOOKUPVALUE ( 'Group'[IdPerson], 'Group'[IdTransaction], Promotion[IdTransaction] )
Regards,
Cherie
Hi,
If there will never be repetitions in the idTransactions column of the Group Table, then you can create a relationship from the idTransactions column of the Promotion Table to the idTransactions column of the Group Table. Then write this calculated column formula in the Promotion Table
=RELATED([Group[idPerson])
Hope this helps.
Hi,
If there will never be repetitions in the idTransactions column of the Group Table, then you can create a relationship from the idTransactions column of the Promotion Table to the idTransactions column of the Group Table. Then write this calculated column formula in the Promotion Table
=RELATED([Group[idPerson])
Hope this helps.
Hi @Anonymous
You may add a calculated column as below:
Column = LOOKUPVALUE ( 'Group'[IdPerson], 'Group'[IdTransaction], Promotion[IdTransaction] )
Regards,
Cherie
@Anonymous,
Why don't you create a Relationship based on IdTransaction?
It will give the same output that what are looking for now.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.