Forum Discussion
sahilp
3 years agoNew Contributor II
I'm trying to set up a connector with the ExecuteCubeView FDX, but I'm not sure what filter this is asking for:
I tried inputting my row filter but when I attach the connector rule to a data source, I get the following error:
Any thoughts?
- ckattookaran3 years agoVIP
I don't think you can use the OS filters there. As far as I know the filters must be like the SQL where clauses. Account IN or Account Like or Account =. What I've done is use the filter function in vb code and then use it in the filter like SQL. So something like below.
Dim lstOriginBase As List(Of String) = BRApi.Finance.Metadata.GetMembersUsingFilter(si, "Origin", "O#Top.Base", True, Nothing, Nothing).Select(Function(x) x.Member.Name).ToList() Dim dt As datatable = BRApi.Import.Data.FdxExecuteDataUnit(si, "Sample", "E#Root.Base", "Local", ScenarioTypeId.Plan, "S#Plan", "T#" & strPlanYear & ".Months", "Periodic", True, "Account='Sales' AND Flow='Endbal_Input' AND " & SqlStringHelper.CreateInClause("Origin", lstOriginBase, True, True), 8, False)
Related Content
- 5 months ago
- 11 months ago