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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.