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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Having trouble trying to show a table with latest KPI vaule on a week by week basis, to then be using in a line graph.
The Latest KPI is to show what the new KPI is that has been set to be used on a weekly basis.
I have tried a few measures but can't seem to get it right.
Below is the closest I have managed to get to, however the Latest KPI results are including the previous value, where I only want the result to show the new value (latest KPI) going forwards.
Any ideas, where I may be going wrong.
Many Thanks
Sorry forgot to add [KPI Date] is the date that the KPI has been set/updated.
Relationship set as below, if this helps
Hi @KevinMann ,
Modify your formula like below:
LatestKPI =
CALCULATE(
MAX('Table'[KPIValue]),
FILTER(
'Table',
'Table'[Date] = MAX('Table'[Date])
)
)WeeklyLatestKPI =
CALCULATE(
[LatestKPI],
ALLEXCEPT('Table', 'Table'[Week])
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the November 2025 Fabric 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!