Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am loooking to write my first dax and would like to understand how I can take a column with Yes/No as the data and produce a maeasure that for example only counts and then totals the Yes function.
Solved! Go to Solution.
Hi @252Gilly
You can use
CALCULATE ( COUNTA ( 'Table'[Column] ), 'Table'[Column] = "Yes" )
Or you can slice by 'Table'[Column] in a table or matrix visual or even a slicer and use just
COUNTA ( 'Table'[Column] )
Hi @252Gilly
You can use
CALCULATE ( COUNTA ( 'Table'[Column] ), 'Table'[Column] = "Yes" )
Or you can slice by 'Table'[Column] in a table or matrix visual or even a slicer and use just
COUNTA ( 'Table'[Column] )
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
12 | |
10 | |
6 |