Forum Discussion

bschmiedeler's avatar
bschmiedeler
Frequent Visitor
6 years ago
Solved

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:

 

 

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.

  • 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

     

2 Replies

  • v-easonf-msft's avatar
    v-easonf-msft
    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

     

  • 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.