Forum Discussion
ashik1992
Helper I
5 years agoCount of values
Hi, Thanks for the tips everyone. I have one doubt. i want to find the counts of status of projects from my table . table is like this . Projects Proposal Status p1 Accepted p2 Accep...
Jihwan_Kim
Super User
5 years agoHi, ashik1992
Please correct me if I wrongly understood.
I guess you want to visualize like below, and if so, please try to create the below DAX measure.
Status Count =
IF (
ISFILTERED ( 'Table'[Proposal Status] ),
CALCULATE (
COUNTROWS ( 'Table' ),
FILTER (
ALL ( 'Table' ),
'Table'[Proposal Status] = SELECTEDVALUE ( 'Table'[Proposal Status] )
)
),
COUNTROWS ( 'Table' )
)
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!