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
Anonymous
Not applicable

Summaries Table to a Smaller Table

Hi Experts

How would you summarise the following table as shown below into a small table in to refect only month 1-12. i.e.

With the most recent date first and so...

months | Date | ComplaintsPer Mionth

1           | 01/06/2019 | 4172  and so on 

2

3

4

5

6

Capture.PNG

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I'm guessing you want to see only the trailing 12 months (in your below an index of 1-12)?  If so, just put in a range filter in your visual to select on the index column and set it to <13?

 

if you want to set it up in your table to filter the rows instead of in the visual, you can filter the index column as well, something like this:

= Table.SelectRows(#"PriorStepName", each ([Index] < 13))

 

Unless your data table is huge, I'd do the selection/filtering on the visual vs. the table, so that you have the ability to view various ranges more easily.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I'm guessing you want to see only the trailing 12 months (in your below an index of 1-12)?  If so, just put in a range filter in your visual to select on the index column and set it to <13?

 

if you want to set it up in your table to filter the rows instead of in the visual, you can filter the index column as well, something like this:

= Table.SelectRows(#"PriorStepName", each ([Index] < 13))

 

Unless your data table is huge, I'd do the selection/filtering on the visual vs. the table, so that you have the ability to view various ranges more easily.

Anonymous
Not applicable

Hi Expert

I want to create a new table not filter the old table.
Anonymous
Not applicable

you can use the "group" function.  This effectively summarizes tables into "smaller" tables based on the critera you specify.  Here's a primer on how to use it:

 

https://docs.microsoft.com/en-us/power-bi/desktop-grouping-and-binning

 

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.