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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
3treepoint
Frequent Visitor

Report Builder - Row Total for multiple filtered datasets

Hi - I am using Report Builder to create a paginated report from multiple tables that have a filter on each dataset.  I need to display the total number of records for all row groups. I have a column that uses an expression to show RowNumber but I only want to display the last one.  Is there a better way to do this?  I cannot use Rowcount due to the dataset filters. 

5 REPLIES 5
v-janeyg-msft
Community Support
Community Support

Hi, @3treepoint 

What do you mean by 'display the last one' ? What does your visual look like?

I would like the last value at the bottom of the report to display (in the last column named Running Case Total), not the others above in the same column.  See image.

3treepoint_0-1640268265328.png

 

The expression is simply RowNumber(Nothing)

Is it possible to change the expression so the font and background are white on all row numbers except the last one?

@3treepoint  The code should be impossible to change the font color and background.

If you can add a index column and modify the expression like: when index=max index, RowNumber().

 

Best Regards,
Community Support Team _ Janey

@3treepoint 

 

It seems difficult, beacuse I am not good at writing report builder code, it is difficult to help you. Can you share your expression? If you can add some conditions to the expression, maybe it's possible. 

 

Best Regards,
Community Support Team _ Janey

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.