Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Everyone,
I am new to the community and need some help duplicating the below tables which list all of the unique values in the "Resource Name" and "Project" columns within my dataset. The first screenshot below is a list of all 39 unique Projects. The second screenshot is a list of all 276 Resource Names. I would like to duplicate the Project list 276 times and duplicate the Resource Name list 39 times in the exact same order as it appears below and then append those duplicates together into 1 table. Does anyone know how to do this without having to create duplicate tables and manually appending each one together? Any tips will be greatly appreciated!
Solved! Go to Solution.
Hi @Syndicate_Admin ,
Your requirement to duplicate these tables X times and then append seems a little odd.
I'm going to answer this on the assumption that your actual question was "How do I get a table that contains all unique combinations of [Project] and [Resource]?". If I've got this wrong feel free to explain further, but here's my answer to the imagined question:
-1- Duplicate your Unique Projects query by right-clicking on it in the Queries pane and selecting Duplicate (this is just so you get to keep the original, it's not a critical step).
-2- In the new query, add a new Custom Column that references your entire resource table, like this:
-3- This will give you a nested resource table on every row of the project table that you can expand using the button circled below to create a crossjoined table:
You should now have a table that contains all possible combinations of [Unique Project] and [Unique Resource Name], something like this:
Pete
Proud to be a Datanaut!
Thank you! This is exactly what I was looking for.
Hi @Syndicate_Admin ,
Your requirement to duplicate these tables X times and then append seems a little odd.
I'm going to answer this on the assumption that your actual question was "How do I get a table that contains all unique combinations of [Project] and [Resource]?". If I've got this wrong feel free to explain further, but here's my answer to the imagined question:
-1- Duplicate your Unique Projects query by right-clicking on it in the Queries pane and selecting Duplicate (this is just so you get to keep the original, it's not a critical step).
-2- In the new query, add a new Custom Column that references your entire resource table, like this:
-3- This will give you a nested resource table on every row of the project table that you can expand using the button circled below to create a crossjoined table:
You should now have a table that contains all possible combinations of [Unique Project] and [Unique Resource Name], something like this:
Pete
Proud to be a Datanaut!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
10 | |
10 | |
8 | |
7 |