DAX度量过滤器未保留在excel数据透视表显示详细信息表中 [英] DAX measure filter is not retained in excel pivot table show details sheet

查看:162
本文介绍了DAX度量过滤器未保留在excel数据透视表显示详细信息表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

DAX测量滤镜不是保留在excel数据透视表中显示详细信息表。感谢任何帮助。 

" I filtered for Application Status =" Active"在Denom_AppMgr测量中,它在数据透视表中正确显示计数(143),

当我双击枢轴以查看显示详细信息表时,我不仅看到了"活动",但是所有状态和计数都是211"

措施:

Denom_AppMgr:= CALCULATE(COUNTA([Application ID]),FILTER(tblApps,tblApps [Application Status] =" Active"))

Denom_AppMgr:=CALCULATE(COUNTA([Application ID]), FILTER(tblApps, tblApps[Application Status]="Active"))

我无法附加Excel,请帮忙。谢谢。

推荐答案

不幸的是,这是预期的行为。钻取只考虑行,列和过滤器。它不会尝试解析度量表达式并重新应用其中应用的任何其他过滤器。

Unfortunately for you this is the expected behaviour. The drillthrough only takes into consideration the rows, columns and filters. It does not try to parse the measure expression and re-apply any additional filters applied there.

在这种情况下,例如你的例子可能会起作用,但是测量表达式会比这更复杂,带来多个不同的行子集,达到在当前过滤器之外,甚至组合来自其他
表的数据。

In simple cases like your example here it probably could be made to work, but measure expressions can get a lot more complex than this bringing in multiple different subsets of rows, reaching outside of the current filters and even combining data from other tables.

在"大哥"中PowerPivot - SQL Server Analysis Services有一项功能允许模型设计者指定自定义详细信息行表达式,该表达式允许您自定义给定度量的钻取,并在需要
时应用额外过滤器,但这需要大量要实现的技术知识,我不确定这种功能是否会在PowerPivot中暴露出来。

In the "big brother" of PowerPivot - SQL Server Analysis Services there is a feature that allows the model designer to specify a custom detail row expression that lets you customize the drillthrough for a given measure and apply extra filters if required, but this takes a lot of technical knowledge to implement and I'm not sure if this sort of feature would ever be exposed in PowerPivot.


这篇关于DAX度量过滤器未保留在excel数据透视表显示详细信息表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆