SQL SERVER – What is SSAS Tabular Data model and Why to use it – Part 2

Posted by Pinal Dave on SQL Authority See other posts from SQL Authority or by Pinal Dave
Published on Wed, 07 May 2014 01:30:10 +0000 Indexed on 2014/05/26 21:48 UTC
Read the original article Hit count: 374

In my last article, I talked about the basics of tabular data model and why use it. Then I demonstrated step by step creation of a basic tabular model project. In this part I’m going to throw some light on how to create measures and analyses in excel.

If you look at the tabular project closely, you will notice that we have not defined any measure yet. So, in the first step we will define the measure first.  Open the solution and select the column you want to define as a measure. Then, click on the summation icon on the toolbar. You will see the aggregated results at the bottom of that column. You have also other choices as well like average, min, max, count and distinct count.

After creating the required measures, we need to analyze our data in excel. To do this, click on the excel icon in the upper left corner of the toolbar.

This will open your analysis in excel. Notice the pivot table field list here. I have highlighted the measures that we created in the earlier step. Now, we can use these measures in our analysis

Now, we have to put the required fields in their respective places as column labels, row labels, Values and Report filter for analysis. See below snapshot for details, it shows region wise sales on a yearly basis

You can even apply filters on the above analysis by placing the slicer field in report filter. In our example, we will take an English product name as a filter.

You can use the filter as depicted in the below snapshot.

Optionally, you can also use the slider to filter data more interactively.

Further to improve our analysis, we can insert pivot charts

That’s all for this time, in my next post I’m going to show in detail about how to create hierarchies, perspectives, KPI’s  and many more features.

Author: Namita Sharma, Senior Corporate Trainer at Koenig Solutions.

Reference: Pinal Dave (http://blog.SQLAuthority.com)


Filed under: PostADay, SQL, SQL Authority, SQL Query, SQL Server, SQL Tips and Tricks, T SQL Tagged: SSAS

© SQL Authority or respective owner

Related posts about PostADay

Related posts about sql