Business Intelligence Blogs

View blogs by industry experts on topics such as SSAS, SSIS, SSRS, Power BI, Performance Tuning, Azure, Big Data and much more! You can also sign up to post your own business intelligence blog.

«September 2015»
MonTueWedThuFriSatSun
31123

Executing DBCC for SQL Server Analysis Services 2016

In the upcoming release of SQL Server Analysis Services 2016, one of the new features you’ll see is the ability to perform a database consistency check against your SSAS cubes and Tabular models. Just like in the database engine side of things, DBCC for SSAS checks for corruption across the entire database or individual objects within the database.

The DBCC command is shaped likes the XMLA Process command so there’s not a lot of complexity to it. Below here, you can see the basic syntax for the SSAS DBCC command. Its worthing noting that the syntax of the command will look the same whether you’re running it against an SSAS multidimensional database or Tabular model.

"http://schemas.microsoft.com/analysisservices/2003/engine">
    <Object>
        
        
        
        
    Object>

To run the DBCC command, just open a new MDX query window and use the code seen above. Enter in the IDs of your Database, cube, measure and/or partition.

When you’re running the DBCC command against a Tabular model, there are a couple things I’d like to point out.

In the element for the CubeID, you’ll need to specify the ID of the Model. And in the element for the MeasureGroupID, specify the ID for the table you want to check.

DBCC XMLA command for SSAS

If you want to check the whole database or model for consistency, simply remove the elements the lower elements. For example, if I wanted to check the whole model, I just would leave out the elements for MeasureGroupID and PartitionID.

To find the MeasureGroupID (Table ID) or PartitionID in a Tabular model, just navigate to the Properties for that object.

Find the SSAS Tabular MeasureGroup ID or Table ID

To find the Partition ID in a Tabular model, right click the table and select Partitions. Then highlight the partition you want to check and click the Settings icon.

Find the SSAS Tabular partition ID

If you run SQL Server Profiler against SSAS while executing the DBCC command, you can see the individual checking of the columns, tables, database and more.

SSAS Tabular Profiler trace DBCC

I also ran a trace against my SSAS 2016 OLAP instance to watch each segment of

Read more
456
78910111213
14151617181920
21222324252627
2829301234
567891011

Ad-hoc Reporting with SharePoint Recording and Q&A

  • 22 May 2013
  • Author: DevinKnight
  • Number of views: 2783
  • 0 Comments

I hope you were able to attend my free webinar on Ad-hoc Reporting with SharePoint on May 21, 2013.  If you weren’t you can now watch the recording here.

As usual there were many great questions that I wasn’t able to answer and I thought I’d follow up on those now.

Q: In the organization that I work in, SharePoint 2013 is stood up but is somewhat barren, just some team pages. Where would I be able to locate the ReportBuilder environment in a 2013 implementation? Is it apparent on a default 2013 installation? If not is it something I have to :activate” or have the architect activate?

First do the Reporting Services install detailed here.  http://msdn.microsoft.com/en-us/library/jj219068.aspx

Then add the SSRS content types to your library, which is detailed here. http://msdn.microsoft.com/en-us/library/bb326289.aspx

Q: Can we create linked reports in a SharePoint integrated Report Server?

No, unfortunately this is one of the few features that you can do with the Native Report Server but doesn’t carry over to SharePoint integrated servers.  Follow this path to find other features not supported http://msdn.microsoft.com/en-us/library/bb326290(v=sql.105).aspx.

Q: Can you schedule PowerPivot refreshed in SP 2010?  If so, can you recommend links to the information?

Yes, and sure thing!  http://msdn.microsoft.com/en-us/library/ee210595.aspx

Q: Once you have consumed that report part and updated it, can you undo the change and go back to the previous (old) report part?

Once you accept a Report Part change you cannot go back to the old version of that report part other than the ol’ Ctrl + Z.

Q: Is this a way to edit the Power View template that opens when you click on the Create New Power View report.  Can you change fonts or add a company logo that would always be available for users starting a new Power View report on your SharePoint site?

Interesting question.  There’s not really a way to create templates like you can with traditional SSRS in Visual Studio.  What you could do is create a Power View report and making it read only.  Then the user could do a ‘save as’ of the read only copy and create their own reports on top of the template.

Also, you can change font as well on the Style tab that I didn’t have time to show.

image

Q: What tool is he using for drawing?

Its a presenter’s best friend called ZoomIt.  You can download it free at www.sysinternals.com

Q: Can SharePoint not be set to refresh Excel workbooks that are not PowerPivot? You mentioned that was a PowerPivot feature, but what if the Excel points to SSAS directly and you want the data refreshed in the workbook that would be stored in SharePoint? We are just getting started with SharePoint and trying to understand how that works.

It can’t be scheduled like PowerPivot but you could auto refresh an Excel Services report by modifying the connection file used for the report to automatically refresh the data upon opening the file.  Unfortunately that would mean every time it’s opened it would have to rerun the query for the entire report.

Q: How do we get the SharePoint site and/or PowerPivot gallery to show up in the Excel Save As screen?

If you tell it to Save As to a location on your local machine and instead type in a SharePoint URL you can save to your PowerPivot Gallery.  After you do this once anytime you go to the Save As menu you will save a SharePoint listing available.

Q: Is it possible to adjust the PowerPivot refreshing rate within SharePoint to be more than once a day

Yes you can.  In the Data Refresh section you can create a schedule that’s similar to a SQL Agent job schedule which give you lots of flexibility on frequency.

Q: Does the end user need Excel 2013 to use Excel Services when it is loaded to SharePoint?

Love this question because this is a big selling point for latest changes to Excel Services.  The answer is No, as long as they can connect to SharePoint they can use the web interface for Excel Services without needing the client tools installed locally.

Q: Could you and would you use a Cube as a data source for PowerPivot or does that defeat the purpose of using Power Pivot?

Yes it is possible but if you’re considering this the right solution would probably be go back to the data warehouse as a data source rather than the cube.

Print
Tags:
Rate this article:
No rating
DevinKnight

DevinKnightDevinKnight

Other posts by DevinKnight

Please login or register to post comments.