Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi
Problem: I have several sqlite3 database files, the file structure is identical on each
I have created a dashboard that visualizes the data from this database (one at a time) I have some custom measures there.
Currently when I want to display a visualization for another source I need to open my dashboard then Transform data > Data source settings and i can change source db
the problem is i have to do this every time i change source
For example, I would like to have 5 sources loaded at the same time and copy this dashboard for other sources.
assuming this is my original database:
I added the other 4:
the problem is that now for each view I have to change the values of the fields which currently have 'sessions' to display data from 'sessions (2)', 'sessions (3)' etc. and there is a lot of it.
Creating several pbix files is not a solution since I want to have these data for comparison in one file
maybe I wrote it wrong, but the methods given above will still display one source at a time:
my goal is to have same report several times for multiple sources at the same time:
as I wrote, in my case the sources are sqlite3 databases which specified by ODBC.
in this screenshot above, both views display the ACC1 source and I would like the other one to display the ACC2 source at the same time
@luke050 you should append data from all these sources as one table which you can do in PQ, and add like a column from "Source", and once it is done, now you can slice the data by source using filter or slicer. This is the way to approach it.
Check my latest blog post Compare Budgeted Scenarios vs. Actuals 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.⚡
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.
@luke050 , refer if this can help
https://radacad.com/change-the-source-of-power-bi-datasets-dynamically-using-power-query-parameters
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
89 | |
84 | |
77 | |
49 |
User | Count |
---|---|
143 | |
140 | |
109 | |
69 | |
55 |