简体   繁体   English

power bi:如何添加基于日期过滤两个或三个图表数据的通用日期切片器

[英]power bi: how to add common date slicer that filters on two or three charts data based on date

How to add common date slicer which will filter two or three charts data based on date column of those charts如何添加通用日期切片器,它将根据这些图表的日期列过滤两个或三个图表数据

i have tried to create a date table and applied relation and when i used date slicer it is showing empty data even though data is there in the mentioned dates range我试图创建一个日期表并应用关系,当我使用日期切片器时,它显示空数据,即使数据在提到的日期范围内

I need to create a common date filter for three charts present in power bi report.我需要为 power bi 报告中存在的三个图表创建一个通用日期过滤器。 three charts using three different tables and with different columns we dont have any relation between them.三个图表使用三个不同的表格和不同的列,我们之间没有任何关系。 But all three tables have a date column so Now i need to create a common date slicer so that i can filter using that and results should be generated但是所有三个表都有一个日期列,所以现在我需要创建一个通用日期切片器,以便我可以使用它进行过滤并生成结果

slicer should filter data of multiple charts.切片器应该过滤多个图表的数据。

The best suggestion is to build your own date table in Power BI.最好的建议是在 Power BI 中构建自己的日期表。 You can take a look at this post here for more details.您可以在 此处查看此帖子以获取更多详细信息。

Now you might end up having to normalize the dates in your existing tables as well to ensure that you are linking all tables on a common date type.现在,您可能最终还必须对现有表中的日期进行规范化,以确保将所有表链接到一个通用日期类型。

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

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