The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
This is an example of my data and current output:
BoNummer is a unique key.
My current measure is this:
Time from creation to death in Years =
CALCULATE (
VAR TestamentCreationDate = MAX( FactArvesager[Testament creation date] )
VAR DeathDate = MAX( FactArvesager[Death of testament creator] )
RETURN
DATEDIFF( TestamentCreationDate , DeathDate , YEAR ),
USERELATIONSHIP(DimDato[DatoKey], FactArvesager[Date of start] )
)
As can be seen it works fine on row level, but I need to find the Average on the 'Date of start' = 53
I think I have complicated things in my head :.(
Plz help
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
20 | |
19 | |
18 | |
18 | |
14 |
User | Count |
---|---|
38 | |
35 | |
23 | |
20 | |
17 |