简体   繁体   English

Power BI Measure过滤(仅日期)

[英]Power BI Measure filtering with ONLY date

I am working on a power bi report to show the Servers' performance against the Restaurant's performance. 我正在制作一份Power Bi报告,以显示服务器的性能与餐厅的性能。

I have two main tables: feedback and server feedback and server tables have cross filter direction of "both" 我有两个主表:反馈和服务器反馈,并且服务器表的交叉过滤方向为“两个”

I have a chart for the names and their served counts and the user can click the servers and the report should change appropriately. 我有一个名称和送达计数的图表,用户可以单击服务器,并且报告应适当更改。

I have 2 main measures: performance indicator for the restaurant and server 我有2个主要指标:餐厅和服务器的绩效指标

I would like to create a Restaurant Performance measure that is ONLY filtered by the time slicer(Timeline), AND does not drill down when I click the name of the servers. 我想创建一个仅由时间切片器(时间轴)过滤的“餐厅绩效”指标,并且当我单击服务器名称时不向下钻取。 I have the following code but it seems my number is off somehow. 我有以下代码,但似乎我的电话不知何故。 Any ideas? 有任何想法吗?

_MEASURE_CSI_TABLETALK = CALCULATE(SUMX(Feedback, [TotalFeedback] * [AverageRating]), ALLEXCEPT(servers, servers[AverageRating])) / CALCULATE(SUM(Feedback[TotalFeedback]), ALLEXCEPT(servers, servers[ServedCount]))

One solution to your problem is to handle the interactions between visuals in Report view. 解决您的问题的一种方法是在“报表”视图中处理视觉效果之间的交互。 显示PowerBI功能区:“格式”页面

Click the Edit interactions button in the Format page of the ribbon. 单击功能区“格式”页面中的“编辑交互”按钮。 Now when you select the chart that has the names of the servers, you can change the way that that chart filters all other visualisations on the same page, for the visual which displays your Restaurant Performance measure, click 'None': 现在,当您选择带有服务器名称的图表时,可以更改该图表在同一页面上过滤所有其他可视化效果的方式,对于显示您的餐厅效果指标的视觉效果,请单击“无”:

在“编辑交互”模式下显示可视化的选项-选择“无”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM