Does metabase.com support SQL PIVOT and UN-PIVOT? - pivot

I am trying to do PIVOT in SQL in metabase.com. Facing multiple errors which executing. Any one tried SQL PIVOT in METABASE.
If anyone faced similar issue or any solution for the same

Related

Run oracle sql query in excel?

Is it possible to have the queries I have written in developer run in excel? I can connect to the db in excel but I'm unsure of how to find and run the queries.
Check out this page.
Once you're able to connect, you should be able to query the database in its native language. Select the Power Query tab, then the drop-down From Database -> From Oracle Database. Simply copy/paste your existing Oracle query into the SQL Statement box and you should be good to go.
In case you don't already have it, Power Query is an add-in for Excel. You can find it here.

Is it Possible to update SQL server data using Excel Power query?

I just recently realise, while using Excel, it lacks on features for being able to update SQL server data through their worksheet.
I have tried using Data-->From other sources--> SQL Server data; that works like a charm but as it has limited ability (View and only get the latest data but not update).
I don’t know if this is done purposely by Microsoft as a money making schemes.
But through my research today, I also came across PowerQuery, and It seems to do pretty much what Data add-in did escape it has few new extra features and sounds pretty advance, therefore, I was wondering if this add-in has the ability to update SQL server data using excel sheet, if so can you guys advise me to the right direction:
I came across lots of commercials products that did the job but frankly speaking, I cannot afford it.
The best solution for in this space that I've seen is the Master Data Services component included in SQL Server (Business Intelligence or Enterprise Edition). This includes an nice Excel Add-In for maintaining data, a Web UI and SQL Views and Staging Tables for data integration.
It doesn't have any direct integration with Power Query, but I would let PQ dump data into Excel Tables, then copy and paste the data into Excel tables using the MDS Add-In.

Unable to refresh powerpivot data in sharepoint

I have a SSAS cube and I would like to create some reports using excel out of the data. Since creating a report directly from the cube involved some performance issues, I loaded the data from the cube into Power pivot and then created reports on top of the power pivot data.
Now, when I upload my excel report to power pivot gallery of sharepoint 2013, I am not able to refresh the data manually as well as automatically (via a schedule). I get the error:
"An error occurred while working on the Data Model in the workbook. Please try again.
We were unable to refresh one or more data connections in this workbook.
The following connections failed to refresh"
When scheduling the report, I get the error:
"Call to Excel Services returned an error"
Can any one help me to solve this issue please!
Thanks in advance
Have you set up credentials in the Secure Store? Make sure you have set SERVER\POWERPIVOT in Manage Service Applications -> Excel Services Application - Data Model Settings.
Also, check ULS logs and post what you might find there.

Data connectivity issue when publishing PowerPivot Excel file to SharePoint, and how to work around it?

One of my customers is very impressed with the capabilities of PowerPivot, particularly the analysis capabilities but even more the publishing capabilities. With that I mean the ability to publish a dashboard to a SharePoint site, after which it can be experienced directly in the browser, including filtering and slicing for end-users.
As we publish our PowerPivot results to a SharePoint site, we get the following error for any action that triggers the data connection to refresh:
The data connection uses Windows Authentication and user credentials
could not be delegated
I've done a lot of research on this one and it seems it is a configuration issue on the SharePoint side. Note though that we are using a cloud hosted SharePoint thus the environment is not under our control. In addition, even our own team mentions this to be a security restriction that will not be lifted.
Therefore, I'm not working on solving the above problem, rather on avoiding it alltogether:
My first experiment was to build a "normal" Excel file without PowerPivot. Same data and I managed to build the same pivots. Both the data and the pivots are in the same file, without a data connection. Publishing it works just fine. The error is not experienced this time, and even interacting with the report via slicers works.
As a second experiment, I wanted to follow the same scenario, but this time using PowerPivot. From data in an Excel sheet I created a so-called "linked table" in PowerPivot. Next, I created some pivots that make use of this table. The pivots are in the same Excel file as the original data. When I publish this file to SharePoint, I get the same error mentioned before when doing anything that refreshed the data connection. Even though the data and pivots are in the same file, it still pops up with this security error, which surprises me.
How can I work around this data connection issue when a PowerPivot is published? We'd like to have both the analytical power of PowerPivot as well as having the rich publishing options of Excel, without running into the data connectivity issue. Is it possible to "flatten" a PowerPivot file to "normal" Excel, since experiment #1 shows that this works fine. How can I remove the data connection from PowerPivot and tell it to just use the Excel data in the very same file?
Do you have PowerPivot for Sharepoint installed?
Is it Pivotstream providing the cloud service?

Is it impossible to view and edit T-Sql statements from within Visual Studio 2012?

I am thinking of migrating our database from SQL Server to SQL Azure, but I am a little concerned about the problems with the tooling I've been having.
Specifically, I haven't been able to "design" a T-SQL query directly from VS while working with local Sql Server 2012 Express database. For instance, previously in VS2012 I could go to "Show table data", then display the SQL used to generate the data and then add "order by" clause. But now in VS2012 I don't see a way to show t-sql statements (unless I want to write them from scratch, which I don't).
Thanks for clearing this confusion up for me. Also, can anybody point me to some online documentation describing these changes? I was looking for it but couldn't find anything :-(
Thanks a lot!
Jan

Resources