Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello
i have an issue on matching 2 columns in different tables. One is up to date, the another one is old
Need help asap @amitchandak @Jihwan_Kim @tamerj1 @johnt75
the new column (calculated with dax) is "New Agents Codes" of the table "agent list"
Table: agent list
New Agents Codes | EAAGTNAME |
A79901001 | ATSOL NDONGO NATHALIA |
A19999062 | LIENOU GAYAP GHISLAINE |
A39908001 | DITONE ARNAUD THEOPHILE |
B49903001 | KENFACK DONFACK WILLIAM JOSPIN |
A19999063 | ROMAY-BELL EDINGA ESSENGUE D |
the old column is "Numero Agents" of the table "APE February"
Numero Agents | Noms Agents |
93003408 | KENFACK DONFACK WILLIAM JOSPIN |
32699002 | ATSOL NDONGO NATHALIA |
32599157 | ROMAY-BELL EDINGA ESSENGUE D |
32599171 | LIENOU GAYAP GHISLAINE |
32402304 | DITONE ARNAUD THEOPHILE |
26499045 | FOTSO MEMO EPSE FOTSO C. |
26499008 | MOYUE FRANCOISE LADOUCE |
the expected output is
Table: APE february
Numero Agents | Noms Agents |
B49903001 | KENFACK DONFACK WILLIAM JOSPIN |
A79901001 | ATSOL NDONGO NATHALIA |
A19999063 | ROMAY-BELL EDINGA ESSENGUE D |
A19999062 | LIENOU GAYAP GHISLAINE |
A39908001 | DITONE ARNAUD THEOPHILE |
kind regards
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
It is for creating a new table.
New table =
FILTER (
SELECTCOLUMNS (
'Agent list',
"Numero Agents", 'Agent list'[New Agents Codes],
"Noms Agents", 'Agent list'[EAAGTNAME]
),
[Noms Agents] IN VALUES ( 'APE february'[Noms Agents] )
)
Easiest to create a relationship between the agent name columns in both tables then use RELATED to retrieve the the new agent code. Otherwise you can FILTER Agents List with CONTAINSSTRING and wrap it all with MAXX to retrieve the new codes column
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |