Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
LastValue =
VAR LaatsteWaarde =
CALCULATE (
MAX ( usermeasurements[AppointmentId] ),
LASTDATE ( usermeasurements[OnderzoekVerichtOp] ),
FILTER ( usermeasurements, usermeasurements[users.company.Name] = [Bedrijf] )
)
RETURN
LaatsteWaarde
It looks like this function is giving more than 1 output argument. How can I realise this is only 1 argument?
When I want to use "Laatste waarde" it returns an average of more than 1 value.
BodyComp4 =
VAR LS2 =
CALCULATE (
AVERAGE ( usermeasurements[BodyCompositionOverall] ),
FILTER (
usermeasurements,
usermeasurements[users.company.Name] = [Bedrijf]
&& usermeasurements[AppointmentId] = [LastValue]
)
)
RETURN
LS2 / 10
I have an SQL connection so can only share the raw data.
https://drive.google.com/drive/folders/1tBe_K_oL6eNNYd9tanZc5X5vxMZfbv-8?usp=sharing
My goal is to have the average of BodyComp4 based on the LastValue rows (and BodyComp3 based on the FirstValue rows)
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!