【问题标题】:DAX distinctcount filtered columnDAX distinctcount 过滤列
【发布时间】:2013-08-27 05:55:00
【问题描述】:

我需要显示由其他列值过滤的列值的 distinctcount。我已经显示了这个值,但我不知道如何计算它 这是我的查询:

evaluate summarize( FILTER( Products ,not isblank(Produkty[Brand]) && Produkty[Company] = "blabla" ) ,Produkty[Brand] )

【问题讨论】:

    标签: ssas dax


    【解决方案1】:

    我不确定我的字段名称是否正确,但这应该可以满足您的需要。

    Count of BlaBla Brands:=
    calculate(
           countrows(distinct(Products[Brand])), 
           Filter('Products', Products[Company] = "blabla" && not(ISBLANK(Products[Brand])))
    )
    

    【讨论】:

      猜你喜欢
      • 2011-05-01
      • 1970-01-01
      • 2019-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-12-20
      • 1970-01-01
      相关资源
      最近更新 更多