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 all i am getting an error when i am trying to get count of closed projects.
Defn of Closed projects is Projects >=100%
@harshagraj , you can create a measure like
measure = CALCULATE(COUNT('report'[Project]),filter('report',[Average Status]>=1))
Maybe [Average Status] has a CALCULATE in it?
Maybe try:
Column =
VAR __Table =
ADDCOLUMNS(
'report',
"Average Status" = [Average Status]
)
RETURN
COUNTX(FILTER(__Table,[Average Status]>=1),[Project])
You will need to use a FILTER to do the comapre to the the measure like so.
CALCULATE (
COUNT ( 'report'[Project] ),
FILTER ( VALUES ( 'report'[Project] ), [Average Status] >= 1 )
)
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 |
---|---|
106 | |
98 | |
75 | |
63 | |
62 |
User | Count |
---|---|
135 | |
105 | |
104 | |
80 | |
65 |