cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frenchtom Frequent Visitor
Frequent Visitor

Get existing visualization to recognize new data columns

Hello - I am a Power BI newbie who is struggling.  

 

I have a nice Power BI dashboard that relies on a CSV file with 20 columns of data.  I have modified this CSV file so now it has 24 columns of data.  The first 20 columns are still the same, the last 4 are new.  I cannot for the lfe of me figure out how to get my dashboard to recognize the four additional cloumns of data within the Fields list.  They also do not show up in the query editor.  What am I doing wrong?  I have tried the Edit Query Queries/Data Source Setting function as well as renaming the CSV file and reconnecting but with no luck.

Thanks,

Tom

1 ACCEPTED SOLUTION

Accepted Solutions
Frenchtom Frequent Visitor
Frequent Visitor

Re: Get existing visualization to recognize new data columns

Hi guys and thanks for your help.  I figured it out based on your replies and something I discovered.  For starters, I had to add the columns into the source line (red circle).  I did that but still had the same problem until I noticed a line of code for the number of columns that the program was pulling in (green circle).  Changing this to 25 to account for the 4 additional columns fixed everything.PowerBI.png

View solution in original post

3 REPLIES 3
Michiel Member
Member

Re: Get existing visualization to recognize new data columns

First, make sure you hit the 'refresh preview' button in the Query Editor, so you can make sure the query connects to your new file. I suspect that one of the steps you made when loading the file, is to select (or deselect) columns. If there is a step like 'Removed Columns' in the query, then on the background the resulting columns are listed, resulting in new columns not being selected by default. If you have a step like this, there should be a gear icon next to it and clicking it will enable you to select the new columns.

Super User
Super User

Re: Get existing visualization to recognize new data columns

Hi,

In the Query Editor go to View > Advanced Editor and in the Source Line there, add the additional columns.

Frenchtom Frequent Visitor
Frequent Visitor

Re: Get existing visualization to recognize new data columns

Hi guys and thanks for your help.  I figured it out based on your replies and something I discovered.  For starters, I had to add the columns into the source line (red circle).  I did that but still had the same problem until I noticed a line of code for the number of columns that the program was pulling in (green circle).  Changing this to 25 to account for the 4 additional columns fixed everything.PowerBI.png

View solution in original post

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 214 members 2,421 guests
Please welcome our newest community members: