Hi
This is not recommend - it is best to keep all the data in a single table so you can analyze across years...
however If you really wanted to, one way is:
In PowerQuerry Rather than duplicate the table/query -
Reference it. For example - you have a table/query "All Years" and it contains a Column "Year"
Reference "all years" , and add a filter on the Years column = 2020, rename that query/table "2020"
Reference "all years" , and add a filter on the Years column = 2021, rename that query/table "2021"
etc etc....
In Report view (Better)Create a table in your report, and simply filter the visualization by the year column (or the Year from a related calendar table)
------------------------------
Ian MacIntosh
Western Australia
------------------------------
Original Message:
Sent: Jan 14, 2021 06:44 PM
From: Murtaza Hasan
Subject: Automatically Splitting table into smaller ones, based on a column value
Hi,
I am looking for a way to split a Table into smaller ones, based on the column values. Let's say I have Year in a column and need to create separate tables for each year. I know, it can be done by duplicating a table and filtering it but I wanted to automate it and handle any changes for future in the column value.
------------------------------
Murtaza Hasan
Business Intelligence Specialist
------------------------------