2

My Boss wants to Switch to Power View from Reporting Services, but he wants to know if everything you could do in SSRS is available in Power View first.

One of the things I noticed immediately is that I couldn't define the filter values for the months dynamically (is this really true?)

What I want is something in the form I used in SSRS parameters as default value:

cstr(year(dateadd("m", 0, now()))) + "-"+ right( "0"+ cstr(month(dateadd("m", 0, now()))), 2)

for the current year-month

Is any there way to do this in Power View?

4

1 回答 1

2

因此,您想过滤整个视图或元素以仅动态显示当前月份的数据?

例如,我通过向数据集“FilterYearMonth”添加一列来做到这一点。

设置列 =IF(YEAR([Date Column])&MONTH([Date Column]) = YEAR(NOW())&MONTH(NOW()), 1, 0)

然后过滤整个视图或元素以仅在 "FilterYearMonth" = 1 时显示

于 2014-04-08T19:35:14.203 回答