Advertisement
Guest User

Untitled

a guest
Mar 25th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. -- Code snippet of the day ( March 27th , 2017 )
  2.  
  3. -- Use NON EMPTY To exclude customers with out orders
  4. -- from Bike Category which we specified in WHERE
  5. -- Condition
  6.  
  7. SELECT
  8. [Measures].[Internet Order Count] ON COLUMNS,
  9. NON EMPTY ([Customer].[Customer].Children) ON ROWS
  10. FROM [Adventure Works]
  11. WHERE [Product].[Product Categories].[Category].[Bikes]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement