DCSIMG
November 2011 - Posts - ItayBraun

ItayBraun

November 2011 - Posts

Small Tip - GROUP BY ALL

 

As you know, in many BI reports, what's missing is sometimes more interesting than what in the report. Therefore, in many cases I need to use OUTER JOINS to retrieve all data from the "dimension" table, even if there is no matching row.

I noticed not many are familiar with GROUP BY ALL which might be helpful.

As you can see in this simple example, the product 344 has only one color (silver). But I want to see all other colors in the table (red, yellow ...).

 

SELECT   P.Color, sum(unitprice) as SumUnitPrice

FROM dbo.FactInternetSales as F

     JOIN dbo.DimProduct as P

    ON P.ProductKey = F.ProductKey

WHERE P.ProductKey = 353

GROUP BY ALL  P.Color

Next BI User Group - Nov 30th - ETL Best Practices

 

שלום לכולם,

ברצוננו להזמין אתכם למפגש קהילת ה - BI.

המפגש הקרוב יתקיים ב - 30.11 במשרדי מיקרוסופט רעננה, אולם דקל.

מצורף לו"ז  לקראת המפגש. להרשמה: http://biugisrael.eventbrite.com/

 

לו"ז  ל Bi User Group Meeting #25(30.11.2011)

17:30    התכנסות

18:00     ODS,STG,ETL and what is left in between 
            אילן זייתון מחברת Vision.BI יציג את תורת ה-ETL עם הרבה טיפים, טריקים מהשטח.

19:30       הפסקה          

19:45    שאלות ותשובות

20:30      סיום

 

המרצה:

אילן זייתון-         מנכ"ל משותף בחברת Vision.BI. בעל ניסיון רב במערכות ה-BI של מיקרוסופט.
לשעבר  Senior Product Planner Excel Server במיקרוסופט.

נשמח לראותכם

רונן חן, איתי בראון

 

SSAS Profiler Trace Scheduler

Hi

Here is a nice and FREE tool which enables quickly start and stop SSAS Profiler.

Currently it only saves the data to a trace file (using pre-defined templates). I hope in the next version it would save it to a table.

The tool can be downloaded from here: http://asptscheduler.codeplex.com/releases/view/42733 

More info can be found here: http://asptscheduler.codeplex.com/documentation 

BIUG - My Presentation: Dimensional Modeling and MDX Best Practices

Hi

Here is my presentation from the last BI User Group, Oct 2010: Dimensional Modeling and MDX Best Practices.

http://www.slideshare.net/itaybraun/biug-20112026-dimensional-modeling-and-mdx-best-practices

 

Inspired by the work of Chris Web (http://cwebbbi.wordpress.com/ ) and Vincent Rainardi (http://www.sqlbits.com/(X(1)S(xkq3bqj54ulh1rmknteodx3p))/Sessions/Event8/Advanced_Dimensional_Modelling )

 

Itay

www.twingo.co.il

 

Posted: Nov 02 2011, 08:07 AM by ItayBraun | with no comments
תגים: