How to change data source (different structure) in power bi - powerbi

I've got a power bi report built. I want to change the data source. The new data source has 4-5 new columns. How should I do this?

This is a difficult job but not impossible. You said you have 4/5 new columns in your new data source. Which is not an issue if you have all existing columns available in the new source that are already in used in the Report and Data Model. There are different approach and manual work to achieve the requirement. Please check This Tutorial where I found a detail and good explanation for your case.

Related

PowerBI: How to Export Table Headers with Column Quality

I'm new to PowerBI, and am working on a large database. I am attempting to prepare the data in the PowerQuery Editor.
I would like to code as many steps as possible, as analysing each column manually is extremely time consuming.
My coding goals (in order of priority):
For each query I would like to get their column quality.
Ideally, I would like to export the header names with the column quality, so that I can determine which are relevant. Furthermore, I can also use the column names to determine which column relationships might be relevant. The database is huge, so simply just importing all the data and trying to work with it from their is not feasible, in fact PowerBI comes up with the error that I don't have enough free memory.
I have VBA and some SQL experience.
I know I have a lot to learn w.r.t. PowerBI, and I am working on it, but need some guidance and direction, also on what is possible/feasible.
Any contructive hints, advice, or feedback would be appreciated - thank you!
Use Table.Profile() on each table and load to the data model.
https://learn.microsoft.com/en-us/powerquery-m/table-profile

How to create a usage report, combining different workspace?

I am trying to create a wide-ranging “usage report”; it should include the usage for 5 report that are in different workspaces/apps.
Is there a way of achieving this?
The only way I found so far; is a bit cumbersome... I create a dataset by combining from each report the data from:
Specifically the ‘views by user’ dataset:
I export it, and then I combine for every report. Is there a way to get all of it in a single dataset?
You can create a Direct Query connection to the underlying usage datasets for each workspace. You can read about the steps here under the heading: Create a new usage report in Power BI Desktop
https://learn.microsoft.com/en-us/power-bi/collaborate-share/service-modern-usage-metrics

Power bi datasets

Guys this is a bit of newbie question. Ive tried to google it and understand how they work but im not having much luck. I have a datasets created by colleague that connect to one of our systems.
I want to look at using it and trying to make some changes. I can see Its create a .pibx file when i saved a copy of the dataset. i want to look at model section and see if i can pull some further fields(column) into table on the dataset that already links some corresponding data from two other tables. Id like to add more fields(columns) that are not currently in that table
However i don't want to affect other datasets and or the data on the system it is communicating with.
Can anyone advise me if this is the case.
As i really only want to test things for now and not make any changes that might affect other people
You can create duplicate for original table( Query ) then play with that duplicat

Creating a "since last refresh" KPI?

I have a PowerBI that pulls from an excel spreadsheet a current inventory of statuses of a system, lets make it easy and say I have a single measure that reads "40% complete".
If I refresh the PowerBI dataset and it now says "60%", is there any way to have a KPI automatically show +20%? Every example I've found requires you to have another dataset that keeps the historical data, and that's not really an option in this situation. Is there any way to calculate it or store it within the PowerBI query itself?
Power BI is not designed to store historical data. This is what a database is for.
In order to calculate that 20% difference, you need to store historical data somewhere but Power BI's purpose is to connect to sources and load data and then visualize it, not to act as a data repository.

Duplicate existing Power BI page and change data source to a different query

We have a number of different business units each managing their own separate (but consistent) data sets in separate Excel spreadsheets. I've created a multi page pbix file that has queries looking at one of those spreadsheets and the users are happy with how it all looks.
What I'd like to be able to do, now the design is accepted, is to duplicate the existing pages and change the data source (on just the duplicate pages not all of them) to the other spreadsheets without having to rebuild all the graphs and apply all the formatting etc again from scratch.
Is this possible? and if not what would be the best approach, save as new pbix, change queries, then merge everything as a dashboard?
I'm relatively new to Power BI so still wrapping my head around how best to structure things.
thanks in advance!
After a bit of experimentation the simplest route I found was:
Added an extra column in the source data for Business Unit
Create queries for each Excel file
Create an append query pulling all the queries together
Built out the charts etc using the append query
Duplicated the page so there was one for each business unit
Then went back through each page and used a Page Level Filter using the Business Unit column to filter back to the required business unit
It definitely pays off to plan your structure in advance (if you can) as it saves a lot of rework!