Forum Discussion
New Columns added not showing up in Direct Query Connection
Hi Anonymous ,
Yes,I followed your steps and unpivot some columns,then add new data in database, then refresh in desktop, after that,I create a table visual, and see the new data show up in the visual. But when I go to query editor,at the very start,I didnt see the new data show up, so I refresh again ,and finally it show up.
I'm guessing whether there's an error in the connection with your data source,would you pls go to query editor>advanced editor to see whether there's an error?
Kelly
v-kelly-msft when you say you added new data? did you add new rows? I added new columns in the database view after unpivoting existing columns and when I refreshed, I didn't see the new columns. I'll check advanced editor and come back to you.
Thanks for your prompt reply. Truly appreciate it!
- v-kelly-msft6 years agoCommunity Support
Hi Anonymous ,
Yes, I added new rows,just now I tested to add new columns and return an error as below:
Does any error show there?
Best Regards,
KellyDid I answer your question? Mark my post as a solution!- Anonymous6 years agoNot applicable
v-kelly-msft this error is because the columns must have the same scale and precision before you unpivot. Once you set that, this error will go away. My error is after you unpivot existing columns and then add new columns to the direct connection.
- v-kelly-msft6 years agoCommunity Support
Hi Anonymous ,
Go to "edit queries">click on "advanced editor" ,to see whether the new column has been written inside:
Here I added new column,calling "Syear",at first it wasnt inside and returned an error,then I added it inside,now it works fine,as you see below:
Best Regards,
KellyDid I answer your question? Mark my post as a solution!