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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 111 | |
| 109 | |
| 40 | |
| 33 | |
| 26 |