Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
pezakas
Helper I
Helper I

USE LOOKUPVALUE TO TAKE DATA FROM TABLE WITH DUPLICATES

Hello community, 
i have 2 tables ALPHA & BETA.
ALPHA hosts projects and each line represent a single update in a project, thus this table has duplicate project codes.
BETA hosts unique projects.

All i want is to fill BETA table with the data from ALPHA table and i want for each project code to take the line with highest cycle and as a result the latest updated date and fill it in BETA.

ALPHA TABLE

pezakas_0-1653998093330.png

BETA TABLE 

pezakas_1-1653998125818.png


Thanks in advance

1 ACCEPTED SOLUTION

Well, you could make an additionaly column, that indicates the latest cycle in the ALPHA TABLE as so:

NickolajJessen_0-1654000453414.png
In the BETA table you can add a coulumn, that does a lookup on the project AND where it says "latest" as so:

NickolajJessen_1-1654000551823.png

Repeat this last step for the other columns you need.

 

View solution in original post

4 REPLIES 4
NickolajJessen
Solution Sage
Solution Sage

Is the BETA table how you want the data to look? Or is that how the data looks now?

Are you looking to do it as calculated columns or is a measure also an option?

the BETA exists already. i want to add new columns "Cycle", "Effort" & "Latest Update" with info from ALPHA so the table looks like the picture i posted.
I would prefer as calculated column if possible.

Well, you could make an additionaly column, that indicates the latest cycle in the ALPHA TABLE as so:

NickolajJessen_0-1654000453414.png
In the BETA table you can add a coulumn, that does a lookup on the project AND where it says "latest" as so:

NickolajJessen_1-1654000551823.png

Repeat this last step for the other columns you need.

 

Thank you!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.