python 中evaluationcontext是什么_DAX Evaluation Contexts

DAX always references the column and preforms in evaluation context: row context, filter context.

They are having different functionalities and usages. Whenever you feel they look the same, repeat the sentence like a mentra:

Filter context filters, row context iterates,they are not the same!

In other words, filter context doesn't iterate, row context doesn't filter

But the question will be what they are used for? So, look at the following:

Row context is used to retrieve/obtain the value of a certain column for a specific row to evaluate

Filter context is a set of filters, used to narrow the data modle to get the data you desired

Think carefully again: How to create a row context or filter context? Answers are that:

Row context:

1. Author a formula in calculated column

2. Use iterator like: FILTER, X-functionsect.

Filter context:

1. Outer filters like the row/column of a report/pivot table, slicer, the filter of a report/page/visual.

2. Inner filters: Queries like the second parameter of CALCULATE/CALCULATETABLE

TO BE CONTINUE...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值