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
FU
Helper IV
Helper IV

Counting Rows in a Matrix

Hi all,

 

I am trying to create a visual which counts the number of rows that are displayed on the matrix shown below. 

 

Please note I have the measure in the matrix filters to only show me rows that have different values in each date column (hopefully clearly shown)

 

Does anyone know how I can count the number of rows showing?


Pbix file: https://we.tl/t-vd5jYugdD6

count number of changes.png

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @FU

 

If I understand it correctly, you can create the following measure and display it in a card visual. 

Count of Rows = 
VAR _table = SUMMARIZE('Project Risks Query-xxx','Project Risks Query-xxx'[Risk ID],'Project Risks Query-xxx'[Attribute],"Distinct_Count", 'Distinct Measure'[DistinctCount])
RETURN
COUNTROWS(FILTER(_table,[Distinct_Count] > 1))

vjingzhang_0-1673856502929.png

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

FU
Helper IV
Helper IV

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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