Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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!
@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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
21 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |