Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a table Table1 with below columns
col1, col2, col3, startdate, targetdate
I want to create a measure something like below. Can you help me with correct syntax.
CALCUATE(
DISTINCTCOUNT(col1),
filter( startdate > Targetdate,
col2 = "abc",
col3 = "xyz")
Solved! Go to Solution.
Measure =
CALCULATE(
DISTINCTCOUNT(SampleData[col1]),
FILTER(SampleData, SampleData[startdate] > SampleData[targetdate] && SampleData[col2]="abc" && SampleData[col3] = "xyz")
)
Proud to be a Super User!
Measure =
CALCULATE(
DISTINCTCOUNT(SampleData[col1]),
FILTER(SampleData, SampleData[startdate] > SampleData[targetdate] && SampleData[col2]="abc" && SampleData[col3] = "xyz")
)
Proud to be a Super User!