Тёмный

How to Update a Data Source in Power BI (without losing all of your work) 

Pragmatic Works
Подписаться 245 тыс.
Просмотров 13 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@bigmo931
@bigmo931 5 месяцев назад
This is gold!!! This was extremely helpful. I don't know how many times I had to change data sources for one reason or another and I had to basically reinvent the wheel with the change steps and relationships.
@txreal2
@txreal2 4 месяца назад
I learned the hard way to put each data source in its separate query (and duplicate or reference before modifying Applied Steps) then use them as "Source" for other queries. Modulize your queries and re-use them or save as templates. Also make data file path dynamically by creating in the current workbook: folder path, file name, and CONCAT then to make file path name ranges; then import file path in a separate query step.
@mrbartuss1
@mrbartuss1 5 месяцев назад
You can even set parameters to switch between the sources
@rowanschoultz1022
@rowanschoultz1022 5 месяцев назад
Awesome tip, thank you!
@elrevesyelderecho
@elrevesyelderecho 3 месяца назад
Thanks for this video Question. This work just for 1 PBI report. What can I do having several PBI reports? All PBI reports are connected to the same data source/Server location and I need to change it to a new Server location. Is there a way to change all data source across all PBI reports rather than open and do it one by one? Thanks
@jennyzhang8266
@jennyzhang8266 4 месяца назад
This is awesome!!!
@TSmitty360
@TSmitty360 Месяц назад
I have new dataset, same fields, lowercase headers now instead of upper case, does that matter?
@Nick_Lee_PW
@Nick_Lee_PW Месяц назад
Yes, unfortunately it does matter. The M code in Power Query that you're going to be modifying is case sensitive, in contrast to the DAX language in PBI Desktop is not case sensitive. I would recommend updating your original sources to match before performing this method.
@joachimkober9941
@joachimkober9941 5 месяцев назад
This is great. BUT what if the data source is changing all headers to small letters? And before the headers were written in camel (capital and small)? This breaks my relations and all power query code. Do you have a solution for this?
@leonid123ful
@leonid123ful 5 месяцев назад
No solution to this. You must make sure all columns are exactly the same.
@Nick_Lee_PW
@Nick_Lee_PW 5 месяцев назад
You would have to modify the M code a little bit. If it's just a column/header name difference, you can just change any reference to those column headers in the M code directly.
@txreal2
@txreal2 4 месяца назад
There's more than 1 way to do this. Since csv works faster in Excel Power Query, I do this all the time for same usually large data table. I would delete the 1st row of the csv table as a data source. Open the Excel header table (import it or put in current workbook) then merge cvs table into it. That's it. There are other ways if you RU-vid search.
@siddiquisherry7483
@siddiquisherry7483 4 месяца назад
So helpful, thank you ☺️
Далее
Борщ в стиле высокой кухни!
00:57
Как не носить с собой вещи
00:31
Advanced Power BI: Solving the Hard Problems
1:00:26
Просмотров 126 тыс.
10 Steps to Optimize Your Data Model in Power BI
13:41
How To Make a Drillthrough Page in Power BI
16:17
Просмотров 12 тыс.
Introducing the 3-30-300 rule for better reports
22:21
3 Hacks to Work Faster in Power BI
25:39
Просмотров 67 тыс.
Борщ в стиле высокой кухни!
00:57