The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |