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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to display the actual rows that a MEASURE counts?

Hello

 

I have created a MEASURE that counts specific rows in a table.

 

This measure is displayed in the dashboard.

 

Is it possible for users to somehow show the rows that comprise the count of this MEASURE?

 

Thanks!

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi  @Anonymous  ,

 

Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.

 

Best regards

Amy

v-xicai
Community Support
Community Support

Hi @Anonymous , 

 

>>I have created a MEASURE that counts specific rows in a table.

 

To get the specific rows, you may have used some filters in the MEASURE formula. For example the codes like below you may have used.

 

MEASURE= CALCUALTE(COUNT(Table1[Value]), FILTER(Table1, Table1[Field1]="A" )

 

Then for the filter " Table1[Field1])="A" " , you may create measure like DAX below, put the Filter1 in the Visual Level Filter of table visual which displays all fields as you require, setting Filter1 as "is not blank". In this way, you may filter the rows related to the filter " Table1[Field1])="A" " in MEASURE formula.

 

Filter1= IF(MAX(Table1[Field1])="A", 1, BLANK() )

 

Or could you share some data sample and expected output? You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.

 

How to Get Your Question Answered Quickly

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Anonymous , Not very clear, But use countsrows with filters that are the rows

Assume measure is

M1 = calculate(sum(Table[A]),Filter(......))

 

Then rows are

calculate(countrows(Table),Filter(......))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.