Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am trying to pull value of field from a table to another one. Just that there're connected through a many to many relationship.
I tested the LookupValue, Relatetable, distinct fonction but none couldn't get me the expected values.
I then please need other suggestions.
Solved! Go to Solution.
Hi @TaxiDriveDax ,
I created some data:
TableA:
TableB:
Here are the steps you can follow:
1. Create calculated column.
Flag =
MAXX(
FILTER(ALL(TableA),
'TableA'[Column1]=EARLIER('TableB'[Column1])&&
'TableA'[Column2]=EARLIER('TableB'[Column2])&&
'TableA'[Column3]=EARLIER('TableB'[Column3])),'TableA'[Column4])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @TaxiDriveDax ,
I created some data:
TableA:
TableB:
Here are the steps you can follow:
1. Create calculated column.
Flag =
MAXX(
FILTER(ALL(TableA),
'TableA'[Column1]=EARLIER('TableB'[Column1])&&
'TableA'[Column2]=EARLIER('TableB'[Column2])&&
'TableA'[Column3]=EARLIER('TableB'[Column3])),'TableA'[Column4])
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
sure :
TABLE A is related to TABLE B on a many to many Relationship.
Table A | |||
Column1 | Column2 | Column3 | Column4 (type Text) |
Then the expect result is to have in TABLE B the below Structure
Table B | ||||
Column1 | Column2 | Column3 | CalculateColumn (Table A.Column4) |
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
9 | |
8 | |
8 |
User | Count |
---|---|
14 | |
12 | |
11 | |
11 | |
8 |