Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide

You're reading from   Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide Get to grips with Microsoft Business Intelligence and Data Warehousing technologies using this practical guide

Arrow left icon
Product type Paperback
Published in May 2014
Publisher
ISBN-13 9781849688888
Length 350 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Abolfazl Radgoudarzi Abolfazl Radgoudarzi
Author Profile Icon Abolfazl Radgoudarzi
Abolfazl Radgoudarzi
Reza Rad Reza Rad
Author Profile Icon Reza Rad
Reza Rad
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Data Warehouse Design FREE CHAPTER 2. SQL Server Analysis Services Multidimensional Cube Development 3. Tabular Model Development of SQL Server Analysis Services 4. ETL with Integration Services 5. Master Data Management 6. Data Quality and Data Cleansing 7. Data Mining – Descriptive Models in SSAS 8. Identifying Data Patterns – Predictive Models in SSAS 9. Reporting Services 10. Dashboard Design 11. Power BI 12. Integrating Reports in Applications Index

Time for action – adding a Fact relationship


As a business requirement, you need to add the order line number as a dimension attribute and show it in the browser. As you know, in the current cube, we have an Internet Sales measure group, which has some measures such as order quantity and sales amount, but we need to fetch the order line number from FactInternetSales as a dimension attribute (this is degenerate dimension, which is explained clearly in Chapter 1, Data Warehouse Design).

Perform the following steps to add a Fact relationship:

  1. Open the Data Source View designer and explore data in the FactInternetSales table. You will see that there is a SalesOrderNumber and SalesOrderLineNumber column there. In this exercise, we will create a dimension based on these columns.

  2. Add a Named Calculation in the FactInternetSales table and name it Order Number. Write the following expression to calculate the concatenation of the order line and order number:

    'Order Number: '+SalesOrderNumber+', Order...
lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Microsoft SQL Server 2014 Business Intelligence Development Beginner's Guide
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon