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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
bschmiedeler
Frequent Visitor

Duplicate Tab and then switch to different Data Source

I have a Report with a tab whose title is Completed Trips by Month, like so:

 

c1.png

 

The tab is attached to a SQL view on my server. 

 

I duplicated the current tab and changed the name to "Completed Trips in the Last 30 days".  I copied the SQL view and added code so it only shows trips for the previous 30 days. I want to point the new tab to the new data source and then change the x-axis to be by day, not by month. This would save me a lot of work, but I cannot find a way to to change the data source of the new tab while leaving the data source for the old tab.

 

Any help would be greatly appreciated.

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi , @bschmiedeler 

As  parry2k   said, if you copy a new page, you can choose to add a new data source and you have to manually point your visuals to your new table. But you cannot simply replace the data source of all views in the page.

Best Regards,
Community Support Team _ Eason

 

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi , @bschmiedeler 

As  parry2k   said, if you copy a new page, you can choose to add a new data source and you have to manually point your visuals to your new table. But you cannot simply replace the data source of all views in the page.

Best Regards,
Community Support Team _ Eason

 

parry2k
Super User
Super User

@bschmiedeler based on your details, you have now tables in your model, is this correct? If yes, on 2nd page, you have to manually point your visuals to your new table.

 

On another note, you shouldn't be creating another view to get last 30 days but rather use one table and create measures to get data for last 30 days and then use that for your 2nd page. It is a best practice rather than duplicating your table/views.

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.