Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |