Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

dashboard and power query check count true only

Hi, 

I have try to summarise my table by using group in the transform data and create a condition column called check. The conditional column is set at pic1.  The result shown in pic2. 

In dashboard, I will want to have a count of true and false in a table, and

in the card, I will like to shown if at that week is 6 days true and one day false, then still need to shown false. 

 

Thanks for your help. 

Kim_Sky_2-1660826874178.png(pic1)

 

Kim_Sky_0-1660826657175.png(pic2)

Kim_Sky_3-1660827121560.png(pic3)

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous

 

Add the "Check" column to Values of the matrix visual and select Count aggregation type for it. 

vjingzhang_0-1661247217540.png

 

For the card visual, create the following measure and add it to the card. I recommend that you add a Date table to the model which has week column in it. I have attached a sample file at bottom. 

Week Check = IF("False" IN VALUES('Sample'[Check]), "False", "True")

vjingzhang_1-1661247268801.png

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Anonymous

 

Add the "Check" column to Values of the matrix visual and select Count aggregation type for it. 

vjingzhang_0-1661247217540.png

 

For the card visual, create the following measure and add it to the card. I recommend that you add a Date table to the model which has week column in it. I have attached a sample file at bottom. 

Week Check = IF("False" IN VALUES('Sample'[Check]), "False", "True")

vjingzhang_1-1661247268801.png

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

lbendlin
Super User
Super User

Please provide sanitized sample data that fully covers your issue. I can only help you with meaningful sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...

Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.