Has anyone been able to create a generic inquiry that can include both actual and budget numbers by period, account, and sub account? I can’t seem to find the right combination of relationships to get this to work properly.
Generic Inquiry by Period that includes both GL and Budget dat
Best answer by ELIJAHRSWK07
Looking at the XML files, the join logic in the combined GI is generally correct, but the issue appears to come from how the fields are exposed in the Sub-GIs. In the combined inquiry, the parent GI is joining on fields like SubID, AccountID, and FinPeriodID and is also referencing columns such as the budget amount and the debit and credit values coming from the Sub-GIs. However, in the actuals Sub-GI the calculated field for the actual amount is still tied to one of the underlying source fields from the GL history table instead of being presented as a clean standalone result column. The budget Sub-GI follows a similar pattern by exposing the released amount directly from the source table rather than as a simplified result field.
A more reliable approach is to simplify both Sub-GIs so that each one returns only the fields needed for the final join: FinPeriodID, AccountID, SubID, and a single aggregated amount column. In the actuals Sub-GI, calculate the period activity and expose it as a field such as ActualAmount. In the budget Sub-GI, expose the budget value as something like BudgetAmount. Make sure these fields appear in the Results Grid with clear names and are not hidden. Then in the combined GI, join the two Sub-GIs only on those three key fields and reference only the exposed result columns from each Sub-GI.
Right now the Sub-GIs are still passing through multiple raw source fields such as debit, credit, and other underlying columns, which can cause the parent GI to interpret them incorrectly and produce invalid column name errors. Reducing each Sub-GI to a minimal grouped dataset usually resolves the issue, and once the combined GI is working you can add additional fields back if needed.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

