简体   繁体   English

快速查看日期之间

[英]Between dates in quicksight

In quicksight I have a start date filter and an end date filter.在速视中,我有一个开始日期过滤器和一个结束日期过滤器。 What i am trying to do is get a between date.我想要做的是获得一个介于两者之间的日期。 What i have done is built a paramater and linked a filter to the start date and the same for the end date.我所做的是构建一个参数并将过滤器链接到开始日期和结束日期。 This captures somewhat what I need.这在某种程度上捕获了我需要的东西。 The only issue is, if a start date is before the start date but ends within the date paramaters it is not shown.唯一的问题是,如果开始日期早于开始日期但在日期参数内结束,则不会显示。 the same goes for the end date, if the start date is between the paramaters but the end date falls outside it is not captured.结束日期也是如此,如果开始日期在参数之间但结束日期在参数之外,则不会被捕获。 I used to use SSRS and embed paramaters in my sql but this is not possible with postgres sql?我曾经在我的 sql 中使用 SSRS 和嵌入参数,但这对于 postgres sql 是不可能的? Any suggestions?有什么建议么?

I resolved this.我解决了这个问题。 What I did first was create a start date and an end date paramater For the filter, I assigned a variable to the start date filter and had it reference before the end date paramater.我首先做的是创建一个开始日期和一个结束日期参数对于过滤器,我为开始日期过滤器分配了一个变量,并在结束日期参数之前引用它。 For the end date filter I had it reference after the start date paramater对于结束日期过滤器,我在开始日期参数之后引用了它

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

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