Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello guys,
I have a column in which data is TRUE/FALSE.
i want to count where =True or where =false.
Thank you so much for the help
Solved! Go to Solution.
Hi @ali70 ,
Try this
Count True = CALCULATE(COUNT('Table'[ID]),'Table'[T/F]=TRUE())Count False = CALCULATE(COUNT('Table'[ID]),'Table'[T/F]=FALSE())
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ali70 ,
Try this
Count True = CALCULATE(COUNT('Table'[ID]),'Table'[T/F]=TRUE())Count False = CALCULATE(COUNT('Table'[ID]),'Table'[T/F]=FALSE())
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@ali70 , if it is boolean column
True= countrows(filter(Table, Table[Column]))
false= countrows(filter(Table,not( Table[Column])))
True= countrows(filter(Table, Table[Column] = ""True"))
false= countrows(filter(Table, Table[Column] ="False"))
Hello, unfortunately it is not working
maybe you can try to create two measures
TRUE = CALCULATE(COUNTROWS('Table'),FILTER('Table','Table'[Column1]=TRUE()))
FALSE = CALCULATE(COUNTROWS('Table'),FILTER('Table','Table'[Column1]=FALSE()))
Proud to be a Super User!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 40 | |
| 37 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 37 | |
| 28 | |
| 27 |