Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have this measure...
Solved! Go to Solution.
Hi @Durbslaw ,
The problem is that you are using summarize() incorrectly.
SUMMARIZE (<table>, <groupBy_columnName>[, <groupBy_columnName>]…[, <name>, <expression>]…)
In your code,
1 you have missed one necessary argument <groupBy_columnName>.
2 <expression> should return a value rather than a table, the return of FILTER() is a table so that the error message.
Maybe you can try this expression to count the "1-Day".
COUNTROWS( FILTER('Leave Management','Leave Management'[DateDiff] = "1-Day"))
Or please share some example data and expect result if you need more help.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Durbslaw ,
The problem is that you are using summarize() incorrectly.
SUMMARIZE (<table>, <groupBy_columnName>[, <groupBy_columnName>]…[, <name>, <expression>]…)
In your code,
1 you have missed one necessary argument <groupBy_columnName>.
2 <expression> should return a value rather than a table, the return of FILTER() is a table so that the error message.
Maybe you can try this expression to count the "1-Day".
COUNTROWS( FILTER('Leave Management','Leave Management'[DateDiff] = "1-Day"))
Or please share some example data and expect result if you need more help.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
105 | |
79 | |
69 | |
62 |
User | Count |
---|---|
142 | |
105 | |
103 | |
85 | |
70 |