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

Using the same visuals fo diffrent queries

Hi , 

 

I was wondering if by any chance this is possible.

I need to make visualistations. For an excell file that has about 30 tabs. 

I need to make 5 exactly the same visualistations (using the same rows ) for each of those 30 tabs. And they need to be shown in diffrent pages in PowerBI. Is there any chance a way to automate this?

1 ACCEPTED SOLUTION

OK, if each is a separate table then not much in the way of automation. Unless they all have the same data structure, which I would think they would since you want to use the same visuals for each. If that is the case I can think of 2 methods. First method would be to Append or UNION all of your tables together but preserve an identifier for each. In other words, in your query you would add a "Source" column to each one and label them 1 - 30. Once they are all appended together, you could copy and paste your visuals to 30 different pages and then just add a page level filter to each page to limit it to 1 - 30 in terms of the source.

 

The second method would be to keep the tables separate but use a measure in your visuals. You could create a separate table with the numbers 1-30 in it. You would use that in a report filter. The measures you would create would use that value to select the right table.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

Would need a little more info but probably nothing super automated. Are each of those 30 sheets their own table in the data model then? You can use Ctrl-left-click to select multiple visuals and copy and paste between pages.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Yes , each of those 30 tabs are 30 diffrent tables in the data model.

OK, if each is a separate table then not much in the way of automation. Unless they all have the same data structure, which I would think they would since you want to use the same visuals for each. If that is the case I can think of 2 methods. First method would be to Append or UNION all of your tables together but preserve an identifier for each. In other words, in your query you would add a "Source" column to each one and label them 1 - 30. Once they are all appended together, you could copy and paste your visuals to 30 different pages and then just add a page level filter to each page to limit it to 1 - 30 in terms of the source.

 

The second method would be to keep the tables separate but use a measure in your visuals. You could create a separate table with the numbers 1-30 in it. You would use that in a report filter. The measures you would create would use that value to select the right table.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

thanks it's working ! 🙂

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.