Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi
I need help for Dax function .I need to count false and ture value From column.Please refer below image.
Column name discontiuned how many true and false discontiuned count.
Thanks In advance.
Solved! Go to Solution.
Hi @Anonymous,
You can create measures below:
CountTrue = CALCULATE(COUNTA('Table'[discontiuned]),FILTER(ALLSELECTED('Table'),'Table'[discontiuned]=TRUE()))
CountFalse = CALCULATE(COUNTA('Table'[discontiuned]),FILTER(ALLSELECTED('Table'),'Table'[discontiuned]=FALSE()))
Best Regards,
Qiuyun Yu
Hi @Anonymous,
You can create measures below:
CountTrue = CALCULATE(COUNTA('Table'[discontiuned]),FILTER(ALLSELECTED('Table'),'Table'[discontiuned]=TRUE()))
CountFalse = CALCULATE(COUNTA('Table'[discontiuned]),FILTER(ALLSELECTED('Table'),'Table'[discontiuned]=FALSE()))
Best Regards,
Qiuyun Yu
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 |
|---|---|
| 53 | |
| 48 | |
| 32 | |
| 16 | |
| 15 |
| User | Count |
|---|---|
| 86 | |
| 71 | |
| 38 | |
| 28 | |
| 25 |