Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

"Pointing" Report to a Different Database

Hi:

I have a report exactly the way I want it in terms of the tables that the report is pulling from.

But, I want to "point" the report to a different database containing those same tables.

In general, how can I accomplish this?

Thanks!

John

8 Replies

  • mhossain's avatar
    mhossain
    Icon for Solution Sage rankSolution Sage

    Anonymous 

    --You can create a separate query (in PowerQuery) for the connection (server+Database) and then use the connection query everywhere in subsequent table queries.

    --Create parameters for servers and database and use these into the table queries.

    • Anonymous's avatar
      Anonymous
      Not applicable

      What is Power Query?  I didn't use it to compsoe my report.

      • mhossain's avatar
        mhossain
        Icon for Solution Sage rankSolution Sage

        This is the query editor, you can find your connections, here you can create parameters or global connection as mentioned in previous thread. Update M code etc.

         

  • Anonymous did you check the video link I shared. That should answer your questions. There is no point in replying to a post if you do not explain what efforts you have done so far. 

     

    ✨ Follow us on LinkedIn

     

    Learn about conditional formatting at Microsoft Reactor

    My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    ⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡

  • Anonymous what mhossain suggested. You can also watch this Microsoft Reactor video in which I talk about a similar use case.

     

    Around the world of Power BI in 80 days – Top 20 Best Practice Tips - Part 10

     

    ✨ Follow us on LinkedIn

     

    Learn about conditional formatting at Microsoft Reactor

    My latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    ⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡

  • Anonymous's avatar
    Anonymous
    Not applicable

    Well, I have tried everything suggested with no results.  In fact, I tried everything below posting earlier.

    Does Power BI not have a simple window that can be used to say "point to this other company".  Every other BI tool that I have used over the years has this.

  • Anonymous not sure what have you tried? You never explained what things you have tried? In your previous post, you mentioned what is power query and the concern is if you don't know that, that is the core of the solution. If you help us understand what you have tried so far, it will help to provide further guidance.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Parameters, Advanced Editor, Transform, etc.