Power bi datasets - powerbi

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

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

set Power Query display folder for a query column in M?

I have a number of very wide datasets in Power Query - hundreds of columns each (don't ask). I am trying to determine if (how) to assign columns to display folders programatically. I have access to some data that I could use to assign the display folder based on the column name. Some research into the metadata functions in M is tantalizing but I have not found the silver bullet example yet. Has anyone attempted this?
I've done some basic research and written some bits of M to look at the metadata functions, but that's about it. I was hoping someone might have the magic function call needed to set the display folder, or know if it is even possible.

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

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.

PowerBI Troubleshooting Measure Error 'Column doesn't exist or doesn't have a relationship...'

I've been working in a practice PowerBI document and was able to get a measure to work, but now when I try to re-create the measure in the non-practice document, I get this error:
'The column 'Department Names[DESL]' either doesn't exist or doesn't have a relationship to any table available in the current context.'
The data and tables are exactly the same for both files.
I've compared the relationship in the model view and the relationship is the same.
Where else can I troubleshoot to figure out why the measure doesn't work? I feel like PowerBI did something automatically in my practice document that I need to implement.
Also, any great training suggestions would be swell.
I found a problem with my database connection, which would have been nice if PowerBI had told me directly, instead of only throwing an error when I tried to connect the 2 sources.
I'm not done fixing the problem yet, but suspect that once that connection is good, I'll be able to relate the 2 columns in the 2 tables.

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!