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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
pickslides
Helper I
Helper I

Use a card to count filtered rows in a visualisation

As my filters are being used I want the bottom right hand Card to display how many values are in the left hand side table. My table value is a measure of one metric being divided by another. 

 

 

Power BI Snip#3.PNG

 

Currently trying to use countrows but retunrs a number that is too large. 

 

Q

 

1 ACCEPTED SOLUTION

Hi,

Try this measure

=countrows(filter(values('UnpivotGMA'[First Name]),[value divided by mark]>0))

If it does not help, then share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
pickslides
Helper I
Helper I

Thanks for this formula. I did this and it did work but didnt count the rows properly. 

 

Q

Hi @pickslides 

Could you please share the expected result and the result you got from the formula? 

Thanks. Please see, result should be 14, my measure in the table is value / mark

 

Power BI Snip#4.PNG

Hi,

Try this measure

=countrows(filter(values('UnpivotGMA'[First Name]),[value divided by mark]>0))

If it does not help, then share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Seanan
Solution Supplier
Solution Supplier

Hi @pickslides 

You can create a measure using the following code:

Count = COUNTROWS(ALLSELECTED(SalesTeam[Company]))

Instead of Company you can use your First name column.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors