הצטרפו לקבוצות שלנו לקבלת עדכונים מרוכזים פעם בשבוע:

ווטסאפ:
http://wa.dwh.co.il
טלגרם:
http://telegram.dwh.co.il

MDX

More
16 years 3 weeks ago #4860 by רומן
MDX was created by רומן
שלום,
יש לי MDX
SELECT NON EMPTY [Days In Stock].[Days In Stock Group].[Days In Stock Group] ON COLUMNS,

NON EMPTY [Car Models].[Car Models By Brands].MEMBERS ON ROWS
FROM [Sales and Stock]
WHERE ([Measures].[Stock Quantity],[Is New Car].[Is New Car].&[1],
[Dealer Hierarchy].[Dealers By Manufacturers].[DealerGroup].&[jpv],
[Type Of Sales].[Type Of Salse].[Type Of Sales].&[TDEM])
-איך אני יכול לעשות שמ -

[Type Of Sales].[Type Of Salse].[Type Of Sales]
אני אקבל את כל ה
MEMBERS
חוץ מ&[TDEM]?

Please התחברות to join the conversation.

More
16 years 3 weeks ago #4865 by eldad
Replied by eldad on topic בעניין: MDX
מכיוון שאני לא מכיר את המימד שלך אני יענה על השאלה:
איך ניתן להוריד חבר ספציפי מתוך קבוצה של חברים. כגון הורדת חודש דצמבר 2003 מקבוצת כל החודשים בשנה:
ניתן לבצע חיסור החבר מהקבוצה
{a1,a2,a3} - {a1} = {a2,a3}

select [Measures].[Internet Order Count] on columns,
descendants(
[Date].[Calendar].[Calendar Year].&[2003].children,
[Date].[Calendar].[Month]) - [Date].[Calendar].[Month].&[2003]&[12]
on rows
from [Adventure Works]



Please התחברות to join the conversation.

More
16 years 3 weeks ago #4866 by רומן
Replied by רומן on topic בעניין: MDX
תודה !!!!!!

Please התחברות to join the conversation.

More
15 years 11 months ago #4970 by reuvent
Replied by reuvent on topic בעניין: MDX
הדרך הקלאסית היא שימוש בפקודת Except שמורידה מתוך SET מסוים Member
Code:
  //This query shows the quantity of orders for all products,   //with the exception of Components, which are not   //sold. SELECT   [Date].[Month of Year].Children  ON COLUMNS,   Except       ([Product].[Product Categories].[All].Children ,         {[Product].[Product Categories].[Components]}       ) ON ROWS FROM   [Adventure Works] WHERE   ([Measures].[Order Quantity])

אתה יכול לקרוא הסבר מלא:
technet.microsoft.com/en-us/library/ms144900.aspx

Please התחברות to join the conversation.

More
15 years 11 months ago #4974 by רומן
Replied by רומן on topic בעניין: MDX
ראובן תודה רבה!!!!!!!!!!!

Please התחברות to join the conversation.

Moderators: eldad
Time to create page: 0.255 seconds