Forum Discussion
venug20
8 years agoResolver I
Sale & Marketing Data Source Connect to SQL Server Error
Hi experts, I am trying to connect data source “SQL Server” from advanced editor, which I was download from Microsoft “Sales & Marketing Sample.PBIX” file. My Server name is : DESKTOP-F125T7K And ...
v-jiascu-msft
8 years agoMicrosoft Employee
- venug208 years agoResolver I
Hi Dale,
Thanks for Respond to my post.
As per your previous reply.
The Old data source is "Access Database", Using Microsoft tool i converted to SQL DB. in that, What are column in table from old Data Source, same columns reflect in SQL aslo there is no chance to miss any columns.
Regards
Venu
- v-jiascu-msft8 years agoMicrosoft Employee
Hi Venu,
Can the SQL Query run successfully in other tools like SSMS? Can you share the file? Are the blue parts just input error?
Source = Sql.Database("DESKTOP-F125T7K", "PowerBI", [Query="SELECT #(lf) p.ProductID,#(lf)
p.Product,#(lf) p.Category,#(lf) Segment,#(lf) m.[ManufacturerID],#(lf)
IIF(p.Manufacturer='Maximus', 'VanArsdel', p.Manufacturer) Manufacturer, #(lf) p.IsCompete#(lf)
FROM [dbo].[bi_Product] p, #(lf) (#(lf) select distinct [ManufacturerID], #(lf)Manufacturer#(lf)
from [PowerBI].[dbo].[bi_Sentiment]#(lf) ) m#(lf)where m.Manufacturer = p.Manufacturer"]),Best Regards,
Dale
- venug208 years agoResolver I
I got this file from https://docs.microsoft.com/en-us/power-bi/sample-sales-and-marketing
After that i want to edit from my "Power BI Desktop", it's through error like above....