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! Learn more

Reply
PH9Z
Regular Visitor

Only show data on visual if underlaying data contains more than 10 rows

I want to show only data if the table (after filtering) has more then 10 rows.

 

I treid

Check10 = COUNTROWS('TABLE')
 this indeed gives me a rowcount but a 'all pages filter ' >= 10 filters out all data.
 
Any suggestions?
1 ACCEPTED SOLUTION
Mariusz
Community Champion
Community Champion

Hi @PH9Z 

 

Sorry use ALLSELECTED instead of all, and add this Measure to "Filters on this visual" in the filters Pane

Measure = 
COUNTROWS( ALLSELECTED( 'Table' ) )

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

View solution in original post

5 REPLIES 5
Mariusz
Community Champion
Community Champion

Hi @PH9Z 

 

Try this,

Measure = 
COUNTROWS( ALL( 'Table' ) )

image.png

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn


 

Hi Mariusz,

 

This gives the totaal rowcount before filtering, I need to filter on the total number of rows after filtering:

Total = 5Total = 5 the total number of rows here is 5, so I don't want to show the visiual. If the total is equal or greater the 10 I want to show it.
image.png
Mariusz
Community Champion
Community Champion

Hi @PH9Z 

 

Sorry use ALLSELECTED instead of all, and add this Measure to "Filters on this visual" in the filters Pane

Measure = 
COUNTROWS( ALLSELECTED( 'Table' ) )

 

Best Regards,
Mariusz

If this post helps, then please consider Accepting it as the solution.

Please feel free to connect with me.
LinkedIn

 

Anonymous
Not applicable

and if you use VALUES? 

Measure = COUNTROWS(VALUES('Table'))

Hi Jef,

 

I'm not able to drag this measure on the filter pane and edit it... I can't enter any value:

image.png

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