在FIlteredViews中在30天内覆盖

时间:2012-06-06 22:56:06

标签: dynamics-crm dynamics-crm-2011

我有一个使用SQL查询的SRSS报告,该查询使用FilteredViews来允许报告使用“在当前记录上运行”。这很好但是它增加了一个“最后的X天”并将其设置为30.它在某种程度上改变了那个或更好的,完全摆脱它?这是我的参考资料:

SELECT        CRMAF_Quote.QuoteNumber, CRMAF_Quote.Name, CRMAF_Quote.CreatedOn, CRMAF_Quote.CustomerIdName, CRMAF_Quote.OwnerIdName, 
                         CRMAF_Quote.Name AS Expr1, CRMAF_Quote.BillTo_Line1, CRMAF_Quote.BillTo_Line2, CRMAF_Quote.BillTo_Line3, CRMAF_Quote.BillTo_StateOrProvince, 
                         CRMAF_Quote.BillTo_PostalCode, CRMAF_Quote.BillTo_Telephone, CRMAF_Quote.BillTo_Fax, CRMAF_QuoteDetail.lineitemnumber, CRMAF_QuoteDetail.Quantity,
                         CRMAF_QuoteDetail.productdescription, CRMAF_QuoteDetail.BaseAmount, CRMAF_QuoteDetail.ExtendedAmount, CRMAF_Quote.DiscountAmount, CRMAF_Quote.TotalTax, CRMAF_Quote.TotalAmount, 
                         CRMAF_Quote.RevisionNumber, CRMAF_SystemUser.Address1_Telephone1, 
                         CRMAF_SystemUser.InternalEMailAddress, CRMAF_Product.productnumber, CRMAF_Product.Name AS ProductName
FROM            FilteredQuote as CRMAF_Quote JOIN
                         FilteredQuoteDetail as CRMAF_QuoteDetail ON CRMAF_Quote.QuoteId = CRMAF_QuoteDetail.QuoteId LEFT OUTER JOIN
                         FilteredProduct AS CRMAF_Product ON CRMAF_QuoteDetail.productid =  CRMAF_Product.productid LEFT OUTER JOIN
                         FilteredSystemUser as CRMAF_SystemUser ON CRMAF_Quote.OwnerId = CRMAF_SystemUser.SystemUserId

附件是它添加的30天的截图。 enter image description here

谢谢!

1 个答案:

答案 0 :(得分:2)

从可用报告列表中,您应该可以选择报告,然后从功能区中选择“编辑默认过滤器”。在那里,您可以更改或删除自动添加的过滤器。