The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. 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 |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |