Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I'm trygin to count the number of rows that meet the criteria specified in Filter however the results is "A table of multiple values was supplied where a single value was expected"
Solved! Go to Solution.
FILTER needs a boolean expression as its second argument, try this instead
AcquisitionFY22 =
CALCULATE (
COUNTROWS ( Donors ),
DATESBETWEEN (
Donors[Added_Date],
DATE ( 2021, 04, 01 ),
DATE ( 2022, 03, 31 )
)
)
Thanks !!!
FILTER needs a boolean expression as its second argument, try this instead
AcquisitionFY22 =
CALCULATE (
COUNTROWS ( Donors ),
DATESBETWEEN (
Donors[Added_Date],
DATE ( 2021, 04, 01 ),
DATE ( 2022, 03, 31 )
)
)
User | Count |
---|---|
14 | |
9 | |
7 | |
7 | |
6 |
User | Count |
---|---|
21 | |
11 | |
10 | |
10 | |
8 |