[英]How to filter cards based on table data row selection in Power BI?
I am working on a report that deals in employee feedbacks.我正在编写一份处理员工反馈的报告。 I have different cards on top to show - (Requests Received,Type of requests(social/others/security),Requests reported/not reported and expired).我在顶部显示不同的卡片 -(收到的请求、请求类型(社交/其他/安全)、报告/未报告和过期的请求)。
All these cards have data based on a measure - Count of Employee IDs = count('vw_EmployeeFeedback'[Employee_Id]) + 0
and respective filter fields dragged on to them to show category type etc.所有这些卡片都具有基于度量Count of Employee IDs = count('vw_EmployeeFeedback'[Employee_Id]) + 0
并将相应的筛选字段拖到它们上以显示类别类型等。
Below them I have a table to show the detailed view of the data.在它们下面,我有一个表格来显示数据的详细视图。 Such as names of manager raising the request, Request raised for(name field), status of requests, submitted date etc. coming from the same view as Count of Employee Ids.例如提出请求的经理姓名、为(名称字段)提出的请求、请求状态、提交日期等来自与员工 ID 计数相同的视图。
I want the cards to filter based on the selection of a row in the table.我希望卡片根据表格中一行的选择进行过滤。
The edit interaction are set to filter the cards, but all go zero or blank when I select a row in the table.编辑交互设置为过滤卡片,但当我在表格中选择一行时,所有卡片都变为零或空白。
Please let me know how I can achieve this.请让我知道如何实现这一目标。 Thank You!谢谢你!
I am assuming that you have different tables for your data source/s that is why it is not filtering when clicking the table entry.我假设您的数据源有不同的表,这就是为什么在单击表条目时它不进行过滤的原因。 Try establishing the relationships of your tables.尝试建立表的关系。 Just go to Models and then Manage Relationships.只需转到模型,然后管理关系。 If it's not the case, then you need other solutions.如果不是这种情况,那么您需要其他解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.