Power BI data refresh - deleted columns in Excel still present as Fields - excel

I have a simple Power BI dashboard which links to just one spreadsheet. The spreadsheet contains superfluous Columns, which I have now deleted.
However, when I refresh the data in Power BI, the Fields which were created from those Columns still exist on the right hand side.
How do I get Power BI to recognise that those Columns / Fields no longer exist?
I can delete them manually but I would expect there to be a sleeker option.
Thanks

Click on the "Transform Data" icon and you will end up in the PowerQuery designer (which is where you are deleting the columns). First refresh your preview (the circled option below).
If that does not work, then right click your table and select advanced editor.
Remove the columns from the Transform

Another reason can be when you've deleted a column you have previously renamed. This triggers an identical error as there's nothing to be renamed.
Its just a different type of error and thus different line in Murray Foxcroft's reply.
Solution: Avoid the field to be part of any logical expression in "Advanced Editor" view.

Related

Analysis Services: How to show the original parameters of Pivot Table Excel after computing filter?

When connecting to AnalysisService / Cube with Excel, I have a PivotTable in a Excel Tab.
Here it is.
And the PivotTable settings is in the Sheet1
THEN I do double-click in the corresponding cell where excel tells me "DOUBLE CLICK"
What I am trying to say is that I can perform many Pivot Table and filters, and excel creates, for every settings, a NEW TAB after I perform also the Double-click.
Ok.
But then, how I recall again the original settings for each Excel TAB ?
What is the way to show the originals parameters for every Tab, in Excel, that were used to compute and search or filter some results ?
Maybe there is not a way.
Microsoft® Excel® for Microsoft 365 MSO
Version 2111 Build 16.0.14701.20278) 64-bit
The results in a Excel TAB (Just an example) after doing the double-click to compute the fields putted in the PivotTable
The question is. How, from the results, I can return back to the original settings that originated the table data ? If I don't remember the original parameters that I've put, how I see them again, FOR EVERY TAB ?
If it's not clear, please let me know in the comments
Thanks !
once the query is submitted, there's noway to see the original filter.

PowerPivot Transformation Tab missing

I want to unpiovt some data and wanted to use PowerPivot. The last time I used it I had a tab called "Transformation" which is not there anymore. I looked around and could not find a "modify menue" Option in PowerPivot.
Does some one has a hint where I have the pimp the settings?
Thx
Alex
Hmm...strange.
The way I opened Power Pivot over the Power Pivot Tab in Excel I do not get the Transformation tab. I've just found by accident in the contex menue of the table the option "Data from table...". When clicking on that I get a new window that looks different but is called PowerQuery Editor. And in this window I have the transformation tab...

Refresh powerBI data with additional column

I have built a powerBI dashboard with data source from Datalake Gen2. I am trying to add new column into my original data source. How to refresh from PowerBI side without much issues or whats the best way to do?
You can add the column in your new data source, when Power BI refreshes against the data set you will NOT see it in report designer. You will have to go into the Query editor, select the dataset & refresh the preview. It will then pick up the new column. It will now show in the report designer.
Hope that helps
You can configure the query so that the number of columns is dynamic by setting Columns=null.
These instructions get you to the same place as #Janzaib's answer, but are more intuitive for me.
In Power BI Desktop, right-click on your dataset under Fields ('VoterList' in this case), and select Edit query:
In Power Query Editor, select Advanced Editor:
In Advanced Editor, increment the Columns value:
Note: If you increment this value larger than your data set, you will end up with empty columns.
However, if you set Columns=null, then it will import all of the columns found in your source automatically, even as your source changes.
When you refresh you table and your data has new columns into it. Yes, it will give you issues. Or your new columns will just not show up.
Here is how you can fix it.
Go to Transform Data and select transform data option
Look for "Transform Sample File" on left hand side and select it
Select advanced editor on top center and you should see something like this.
and simply increase the number of columns your sample file can possibly contain.

MS Access - Data in top row appears and disappears when focus on the cell changes.

Its a bit of a weird one but I have a linked table within my database. The table is an excel table with identical field headings and data types and until recently has worked fine however now when I traverse the linked table in Access the data will change every other move, changing from the original row to show data in the row below. Iv had a script output the values of the top row and it displays normally however I cant append this linked table into anything and I assume its this glitch.
Im stumped and would love any ideas as to how this happened and how it can be fixed.
This is an unusual post as I've never quite heard of this type issue. To sanity check things I would suggest that you delete your excel table from the navigation pane in Access - and then relink it.
So then perhaps I didn't understand, and I am wondering what is meant in your first post by: "The table is an excel table with identical field headings and data types"
A link to excel is a qualified "table" so to speak. You should be able to double click on it within Access, it opens in data sheet view and you see all the data but you can't write to it. You can't write back into the excel.
You can query it....
You can append the query results of the excel into a true Access table.

How to hide Source Data Tables in Power Pivot

I unioned two tables (AccelerateData and Adjustments) in PowerQuery and loaded them into the data model (table name in the data model is AccelerateData). Afterwards I created a pivot table from the data model to analyze it. I want to make the data model accessible to other users as well and therefore I'm doing some tidying up.
In PowerPivot there is the option to "Hide from Client Tools". I have done this for the non relevant PowerPivot for columns and tables. However, I always see the source data tables from PowerQuery in the field list of the pivot table and can't find out how to hide them.
Anybody knows how to not show them in the field list?
Thank you very much!
I don't see a way to do exactly what you are asking under the All tab, but you can easily hide (or unhide) any sources from the Active tab with just a right-click and Remove from (or Show in) Active Tab.
In my opinion, All really should show all dependencies rather than some arbitrary user defined selection with the Active tab being used for customization and this seems to be how Microsoft built it.
After hiding them using the "Hide from Client Tools" option in Powerpivot, you also have to right-click and refresh your pivot table. That should hide the fields from the pivot table fields list.
I found a better solution than using the "Active" / "All" tabs.
In Excel, go the table you want to hide, then go to the Power Pivot tab, and select "Add to Data Model". This will make the table directly visible in Power Pivot, where you can now "Hide from Client Tools".
I agree that the PivotTable Fields view shouldn't include tables outside of your data model, but with this solution you at least gain control of hiding them, and as long as you don't create any relationships you should be ok in terms of performance.

Resources