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
Grantx
Frequent Visitor

Report builder - count grouped items

In my report, each person is grouped because they could have more than one address.

How do I count the number of grouped results so that I can specify postcode1, postcode2, postcode3 etc...?

 

This is the report builder part:
Grantx_0-1695309404301.png

 

This is the result when I run the report:

Grantx_1-1695309509350.png

 

 

 

 

1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User

You can use the RowNumber() function passing in the name of the parent group. So if your group is called "Fullname" you could change the postcode to an expression like

 

= Fields!Postcode.Value & RowNumber("Fullname)

View solution in original post

1 REPLY 1
d_gosbell
Super User
Super User

You can use the RowNumber() function passing in the name of the parent group. So if your group is called "Fullname" you could change the postcode to an expression like

 

= Fields!Postcode.Value & RowNumber("Fullname)

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