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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.