Forum Discussion
Add a new column to the existing data set and refresh
- Anonymous9 years ago
ewuchatka It is most likely because you are inserting it into the middle... You can do one of two things.
Easier - put it at the end of the Excel doc, and refresh
Harder - keep it where it is. Go to Edit Queries -> highlight the query you are working with -> Advanced Editor and you will see the M code that is pulling the data. look at how the other columns are being added, and insert your new column in between the columns that are being pulled. Refresh in query editor, close & apply. And you should be good to go.
ewuchatka It is most likely because you are inserting it into the middle... You can do one of two things.
Easier - put it at the end of the Excel doc, and refresh
Harder - keep it where it is. Go to Edit Queries -> highlight the query you are working with -> Advanced Editor and you will see the M code that is pulling the data. look at how the other columns are being added, and insert your new column in between the columns that are being pulled. Refresh in query editor, close & apply. And you should be good to go.
This worked for me even though the new columns where at the end of the excel file and it should have not been neccessary.
Thanks for the help.
Bruce
- Anonymous7 years agoNot applicable
Here's an idea, if you are keeping the data source constant but modify the content in terms of adding or removing columns would it not be easier to allow functionality for the option to review and rewrite the "get data" query in Navigator rather than having to fiddle around with SQL text. I should add that I have done the SQL edit method myself so it works, some may say its quick and easy, but one of Power BI's strengths is to distance users from having to do a lot of sql query writing so personally I think something like the Navigator option should be available