Aracılığıyla paylaş


<(Küçüktür) (MDX)

Bir çok boyutlu ifadeleri (mdx) ifade değerini değerden başka bir mdx ifade olup olmadığını belirleyen bir karşılaştırma işlemi gerçekleştirir.

Sözdizimi

MDX_Expression < MDX_Expression

Parametreler

  • MDX_Expression
    Geçerli bir mdx ifade.

Dönüş Değeri

Aşağıdaki koşullara göre bir Boole değeri:

  • true Her iki parametre null olmayan ve ilk parametre ikinci parametre değerinden daha düşük bir değere sahiptir.

  • false Her iki parametre null olmayan ve ilk parametre eşit ya da ikinci parametre değeri'den büyük bir değere sahiptir.

  • veya her iki parametre null bir değere değerlendirmek yoksa null.

Örnekler

Aşağıdaki örnekte, bu işleç kullanımı gösterilmiştir.

-- This query returns the gross profit margin (GPM)
-- for clothing sales where the GPM is less than 30%.
With Member [Measures].[LowGPM] as
  IIF(
      [Measures].[Gross Profit Margin] < .3,
      [Measures].[Gross Profit Margin],
      null)
SELECT NON EMPTY
    [Sales Territory].[Sales Territory Country].Members ON 0,
    [Product].[Category].[Clothing] ON 1
FROM
    [Adventure Works]
WHERE
    ([Measures].[LowGPM])

Ayrıca bkz.

Başvuru