Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

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. 

(pic1)

 

(pic2)

(pic3)

 

  • Hi Anonymous

     

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

     

    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")

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

2 Replies