Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I need to publish latest value in 'BuildNumber' column based on latest date in "Exec_Time' column. There are multiples build number in the column, I need to get build number based on latest execution date. I have pasted snap shot of table below. Any help how to get this done..!!
Solved! Go to Solution.
Hi @arvindsj ,
You could use the following measure,wish it is helpful for you!
Measure =
VAR lastexec_time =
CALCULATE ( MAX ( 'Table'[Exec_time] ), ALL ( 'Table' ) )
VAR build =
CALCULATE (
MAX ( 'Table'[BuildNumber] ),
FILTER ( ALL ( 'Table' ), 'Table'[Exec_time] = lastexec_time )
)
RETURN
build
base data:
after:
Best Regards
Lucien
Hi @arvindsj ,
You could use the following measure,wish it is helpful for you!
Measure =
VAR lastexec_time =
CALCULATE ( MAX ( 'Table'[Exec_time] ), ALL ( 'Table' ) )
VAR build =
CALCULATE (
MAX ( 'Table'[BuildNumber] ),
FILTER ( ALL ( 'Table' ), 'Table'[Exec_time] = lastexec_time )
)
RETURN
build
base data:
after:
Best Regards
Lucien
Hi, @arvindsj
Please correct me if I am wrong, but I assume the last date in Exectime column is based on the testID?
Then, please try the below.
if it is not working, please kindly share the sample pbix file. Then, I can try to come up with a more accurate measure. The data in the above picture looks all the same except the RUNID.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!