This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hi, i have a calculated measure but want a column instead because of a filter that i need
see below my calculated column.
First Project =
VAR mydate =
CALCULATE (
MIN ( Projecten[start_date]);
FILTER (
CALCULATETABLE ( VALUES ( Projecten) );
Projecten[start_date] >= Projecten[Datum in dienst]
)
)RETURN
CALCULATE (
MIN ( Projecten[end_customer]);
FILTER (
CALCULATETABLE ( VALUES ( Projecten ));
Projecten[start_date]= mydate
)
)
Hi ,@Framboosje
Try this formula please
First Project =
VAR mydate =
CALCULATE (
MIN ( Projecten[start_date] ),
FILTER ( Projecten, Projecten[start_date] >= Projecten[Datum in dienst] )
)
RETURN
CALCULATE (
MIN ( Projecten[end_customer] ),
FILTER ( Projecten, Projecten[start_date] = mydate )
)
If it is not your case, please share pbix and expected output. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.
Best Regards,
Lin
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 21 | |
| 21 | |
| 14 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 47 | |
| 35 | |
| 24 | |
| 20 | |
| 19 |