Yesterday i was editing a couple of tables and these perfectly worked.
Today i turned on my pc and when i accessed to the PowerQuery Editor it returns me an Error message but it just appears in the PowerQuery Editor.
The thing is that i can still work with these tables on my dashboard but i can't edit them in the PowerQuery Editor
I can't understand why this doesn't work. It took me a long time to edit the tables and when it show me message to go to the Error i modify or delete the part that returns me the error i close the application and get into again and the same happens.
Here i show the table out the PowerQuery Editor
Here i show the Error that returns me when i get into the Power Query Editor
That error seems pretty self explanatory - column ' Todas las APTs' isn't found in your source data.
I'd suggest checking the source file, to see if your data content has changed, then change your query accordingly. It may be worth trimming your data before promoting headers, to eliminate those multiple spaces before the actual column header.
Related
I'm using Power BI (May 2020 edition) and I've encountered a very weird problem. My visuals are based on SQL Server Stored Procedure. When I initially displayed data on visuals, I realized I need to add extra column on backend and switch columns on visual. So, I did the following:
I modified my Stored Procedure and applied changes on back-end
I navigated to Data View and clicked on Edit Queries menu item. Then I right-clicked on the column I needed to move and clicked "Move Right". This way 2 columns swapped the order in which they were displayed.
Then I clicked Refresh All and after a while got all my changes - recently added column from SP and swapped columns displayed correctly on Edit Queries window.
After all these manipulations I clicked Close & Apply and was redirected to Data View of my Visuals. None of the changes were reflected. I went to Report View - the same thing, of course.
Did I do anything wrong or it's a known bug that hopefully has workaround?
Appreciate everybody's help.
P.S. I was able to refresh the data by right-clicking on "Query" dropdown on Data View and clicking "Refresh Data". However, columns order still not resolved. Looks like everything we do under Edit Queries is not reflected in May 2020 edition. Please correct me if I'm wrong or if there is a workaround. Unfortunately I can't upgrade to newer version as our server doesn't support it.
Resolved the issue - instead of going to Edit Query mode, I simply dragged fields to appropriate place in Report Mode, Visualizations pane. But I still remain puzzled why Edit Queries changes are not reflected when Close & Apply is clicked.
I am trying to apply conditional formatting to a field of a table in a report in Power BI online.
The report is connected to a dataset that is in MS Teams and continues to function. All existing conditional formatting is unchanged.
These are the steps I took:
Switch report to edit mode
Select table
Select conditional formatting - advanced controls
In the pop-up window, select "Based on Field"
Then, the drop down list is blank and says {{::placeholderText}}.
This can now be recreated in any report, new or existing, where I attempt conditional formatting.
I tried creating a new report from a new dataset, and attempted to add conditional formatting to a table. The same result happened.
I tried signing out of my Microsoft account and signing back in, but no effect.
I was able to get it working by adding ?conditionalFormattingModern=1 to the url for the online editor like this: https://app.powerbi.com/groups/me/reports/xxx/ReportSection?conditionalFormattingModern=1. (source of idea)
I'm not sure if it will work correctly after I publish the visual though. Apparently this isn't an issue on Power BI Desktop though- so it's probably fine.
Update: Not sure if I'm doing something wrong- but the conditional formatting doesn't seem to be actually applied. It's just that the editor window displays correctly.
I am rather new at PowerBI because I have mostly used other tools but I need to use them for a customer. I have this problem that I haven't been able to solve.
I have created two CSV-files using python and I save them in a specific location. I update these files every day and I have since their first creation date never changed anything. The files are ";" separated.
Now, I created a dashboard in PowerBI by first importing these files and connecting them using a common key. All the visuals work just fine. The next day, I wanted to update the data since the CSV-files on my disc had been updated with my python code.
The problem is that PowerBI will not update the tables. In fact I get the error "Det gick inte att hitta kolumnen <namn på kolumnen> i tabellen" which in english would be Column cannot be found in table. The column is the first column in the PWBI table (since the application ordered these columns in alphabetical order).
I have tried every possible thing, from the cleansing cache memory to change the order of columns. Whatever I try fails.
In this image above it says: "Cannot find column BKVehicelID in the table" and the second error is "Update was blocked because of errors in other queries". I can, however, update the second column by itself.
I would really appreciate any help on this.
I made some changes to my dataset in Power BI via the Power Query Editor.
I went to close the editor and apply my changes to the data.
I get "Query Errors" that appear, despite having handled the records. I've confirmed the error does not appear in any other columns.
When I go to apply the changes, the errors still appear.
Any suggestions?
Edit #1:
I tried changing the column to a text data type and then sorting to look at all of the values, but it says "Invalid cell value: '#N/A', which is weird. I wonder why it won't let me sort the data.
Seems the only way you can handle these types of values are to handle them outside of Power BI. Power BI cannot handle these values at this time.
Will make this short and sweet - we have a massive .CSV that we are linking to PBI Desktop. Some of the header names in this .CSV were not optimal and have since been updated by the SQL backend. However, PBI is not happy with not being able to find the exact header that existed previously, and we could not find a route by which to tell the software that a header name had changed. Is there a quick solution for this?
Here is an idea to work around this issue,
as long as your header are changing, I recommend you to do these step in power query:
search on your power query the step where the headers are promoted
instead of this step, delete the first row (the one containing the headers)
Then add a step renaming the header as desired
Hope that helps
Quick.. Not so much. Easy? Relatively.
You'll need to manually edit the PowerQuery in the Advanced Query side.
I recommend un-hiding the formula bar in the Query Editor and going step by step through the applied steps. Once you find a broken step, check out the PowerQuery, you'll see your no longer existent fields there as plain text in the formula bar ( or advanced editor view ). Swap out the old field names in the PowerQuery with the new names and you should be golden.
You might even get away with a few find/replaces..
You can fix this if you delete your top rows in your first row operation in query editor. This way the CODE of your power BI query will not contain a specific name and will name your columns: 'column 1' ; 'column 2' etc.etc.
You can now edit to your own demands and when you change datasource nothing will go in error.
Hope this helps for people who are also looking into the problem.