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.
I have following tables
Build table with Code Coverage
Mapping table - Work Item ID & Build ID
And Work Item table
Now, I have a measure that gives me the latest Build ID (from that second table of Build ID & Work Item ID)
And with that I am fetching relevant Build Repo & Code Coverage in that third table
Hence in the third table as shown above, I am getting the latest Code Coverage against the work item & repo.
Now, what I need is, to get the previous Code Coverage in that third table shown above.
For that I need a measure in this third table, to get the second highest 'build ID' from the build table (First Table), for that respective 'Build Repo' column value in the Third table.
How can I use Lookup to do that?
Solved! Go to Solution.
Hi,
You can create a measure with the following logic:
Start data:
Dax:
I hope this helps and if it does consider accepting this as a solutio nand giving the post a thumbs up!
Proud to be a Super User!
I kept getting True/False errors with this solution
@yogeshk77 provide sample data in a tabke format/ create a sample pbi, upload in 1/g drive and share the link here
Hi,
You can create a measure with the following logic:
Start data:
Dax:
I hope this helps and if it does consider accepting this as a solutio nand giving the post a thumbs up!
Proud to be a Super User!
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |