In Power BI, Data source setting is not worked out while changing DB - powerbi-desktop

As of now I have done by using 'Advanced Editor' option, for each table. I need to change the DB for the whole project itself.
data is in cloud only.
please post your solution
Thanks

From File->Options and settings->Data source settings click Change Source... button and enter new values for Server and Database.

Related

Azure SQL - Take Backup of sepcific tables to another Database

I was trying to take specfic tables data in an Azure SQL DB and then dump this data in to a new table of same structure inside another existing SQL database. I don't want full back-up and both Azure SQL Databases are inside the same Azure SQL Server. It shows some security errors and so I thought I might be doing something wrong. Any tools/automated way to achieve this in Azure?
Try to use SQL Server Management Studio to generate a script of the data to copy from table A on Database A to table A on Database B as explained here.
Right click the source database and select "Generate Scripts..."
Click "Next" and skip the introduction. Click "Select specific database objects" and select the desired table "Newsletters" and "Next".
Now comes the important, "Advanced" part: Generate a script by selecting the output to a file, to the clipboard or to a new query window. Click on "Advanced" and in the option "Types of data to script", select "Data only" as shown here. Click "OK".
Select the "Types of data to script" as needed...
Now confirm the script generation with "Next".
The script has been generated. Click "Finish" to close the wizard. You will get the generated script in a new query window in the background.
Open a new query window in the destination database.
Then, copy the generated script into the destination query windows connected to the destination database and execute it (F5).
Check the result. All data should be available in the destination database in the table.

Kentico CustomTableForm - Save records to a custom table

I am very new to Kentico. I have been saddled with a project of recreating a spreadsheet as part of a Kentico built website. I need to accept input from a form, and do calculations and then spit the results back on the screen for the end-user. Again...I am very new to Kentico. So I have been trying to use a custom table, and a custom-table-form. I have it saving an initial record to the custom table, but it overwrites it each time. What would be a proper way of taking in an end-users values from a form and being able to preform basic CRUD tasks with that data (and then display it back on the page for the user to see)?
Thanks in advance!
#Tom,
Please try with Custom Table Input Edit web part from Kentico Marketplace.
You can always use the rest service
you can have table url like ~/rest/customtableitem.customtable.sampletable?format=json
and then do all CRUD operations.
The other way if you are new (my suggestion) is to start with examples (install corporate site example locally if you don't have it ). Check the /Examples/Web-parts/Custom-tables/ section it has all the example how to deal with a custom table. For editing you can use combination: custom table you should use custom table repeater, object management buttons and custom table form. Install the the example (even with the trial version)

Why does Power BI table shows ''This table is empty" when data are loaded from a SharePoint list?

I have made a list in SharePoint online and even got succeeded in connecting the SharePoint list with the Power BI desktop via the URL. Once the data are loaded and queried,only the names of the tables are listed down (Only in the query editor but not in the home view) but not any of the columns or data values.It returns that the table is empty.It`ll be a great help if someone could help me with this and Thanks in advance for any help.
After struggling with this same issue, I finally fixed it by updating the data source settings in Power BI desktop for the particular SharePoint connection.
Go to Data Source Settings -> Select the SharePoint source you're referring to -> Edit Permissions -> Re-enter credentials and log in
This should allow you to see the data in the list when you refresh the data set. If not, I would suggest checking that the account used to connect to the SharePoint site has proper permissions.

Changing the Power query SQL Server database settings when moving an Excel workbook

I'm working on creating an excel report that collects data from a local copy of a SQL Server database on my maschine, where I use Power Query to retrieve the data. These are then loaded into a PowerPivot data model. Now I'm finished with the development and on my way to put this into production on another server on the customer's server. The Excel workbook must change database settings using sql server database user Connection (not integrated). I had hoped that I could change the database Connection Properties at the Data tab, but there are not any easy way to change the connection string to the new server. Now I can't see any option that going through every Power Query query and change them manually. I have great hope that you Power Query experts have a Nice explaination and an example how I can solve this.
Hope to hear from you soon
Regards Geir F
There isn't a great solution for bulk server rename today, but we're very aware of the customer demand! (I can't promise anything about upcoming features, but at some point in the past I heard the dev team discuss this feature.) I'd recommend showing your support for this feature at https://excel.uservoice.com/
If you need to solve this soon, manually opening each query and editting the server string is what you need to do, sorry :\
(If you're building new reports again, Power BI Desktop lets you parameterize the server name to a top-level query, which would allow for quick rename operations!)
Do you only need to change the server name? If you go to the Data Source Settings window, you can select the SQL Server source you are using and click on the "Change Source..." button. If you change the server name in that dialog, it will change the server name in all of the queries that use that source (assuming it's the first step in the query).

SSAS require special privileges to create/edit a named query?

I am trying to make modifications to a named query in a cube and the data source view (.dsv) won't allow me to make edits or create a new named query. It gives me a login error even though I can successfully do a test connection in the data source dialog and can login successfully with SSMS.
The error is: "Login failed for user "
If I instead use the Windows authentication I am able to do everything; however, I would like to use the SQL Server Authentication option.
Are there privileges that need to be set for this? I'm pretty sure I've tried giving this user everything from db_owner etc in my local environment and still no luck.
I was wondering if maybe SSAS requires a specific role to allow SQL Server Authentication to be used for editing/creating named queries in the data source view.
Please refer to the following steps to slove this issue:
In the SSDT development interface, double-click on your data source.
In the Data Source Desginer dialog, please click "Edit".
Please select "SqlClient Data Provider", and then use your SQL Account for the data source.
Follow this link
(https://social.msdn.microsoft.com/Forums/sqlserver/en-US/b5f05388-42e0-4fb6-92a9-d7d3e08aa98c/ssdt-2012-named-query-problem?forum=sqlanalysisservices)

Resources