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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
aqeel_shaikh
Helper III
Helper III

Count of Closed task and open task in a card

Iam performing a card in powerbi where the status change to "Closed" then the count bar should show for closed items

similarly for open items the another card should show for "Open" items.

How can i perform this in power bi.

1 ACCEPTED SOLUTION
Akash_Varuna
Super User
Super User

Hi @aqeel_shaikh You could achive this throug measures Could you follow these please 

Create measures:

  • ClosedTasksCount:

 

ClosedTasksCount = 
COUNTROWS(
    FILTER(
        YourTable,
        YourTable[Status] = "Closed"
    )
)
​

 

  • OpenTasksCount:
    OpenTasksCount = 
    COUNTROWS(
        FILTER(
            YourTable,
            YourTable[Status] = "Open"
        )
    )
    ​

    Add two card visuals and assign each measure to display the counts.
    If this post helped please do give a kudos and accept this as a solution 
    Thanks In Advance

View solution in original post

4 REPLIES 4
aqeel_shaikh
Helper III
Helper III

Thanks aton. it helped

AnkitKukreja
Super User
Super User

Hi! @aqeel_shaikh 

 

You can use the measure as suggested by Akash_varuna or you can drag and drop and then filter the data as per your status. You can use multi-row card, card(new) or a card visual to display your data. Attaching image below for the multi-row card and card(new) for your reference.

 

AnkitKukreja_0-1741066267782.png

 

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
nilendraFabric
Super User
Super User

Create Two Measures
• Use Power BI’s COUNT + FILTER logic to tally tasks:
• One measure counts entries marked “Closed”
• Another counts entries marked “Open”

 Add Card Visuals
• Drag two Card visuals to your report canvas
• Assign the “Closed” measure to one card
• Assign the “Open” measure to the other

Akash_Varuna
Super User
Super User

Hi @aqeel_shaikh You could achive this throug measures Could you follow these please 

Create measures:

  • ClosedTasksCount:

 

ClosedTasksCount = 
COUNTROWS(
    FILTER(
        YourTable,
        YourTable[Status] = "Closed"
    )
)
​

 

  • OpenTasksCount:
    OpenTasksCount = 
    COUNTROWS(
        FILTER(
            YourTable,
            YourTable[Status] = "Open"
        )
    )
    ​

    Add two card visuals and assign each measure to display the counts.
    If this post helped please do give a kudos and accept this as a solution 
    Thanks In Advance

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors