Forum Discussion
Tom_R
4 years agoNew Contributor III
Join Framework table data to Application table data using SQL
SOURCE: ONESTREAM CHAMPIONS
Hi - I am trying to create a journal entry summary report, and am able to get most of my data from the application tables, however the created by, submitted by, etc user...
NickKroppe
OneStream Employee
4 years agoI would suggest putting the query against the application database in a dashboard dataset rule and then creating your own custom table on the fly with the correct usernames. You can convert the user keys to user names by leveraging our ability to execute BRApis within the dashboard dataset rule, in this case, consider the BRApi.Security.Admin.GetUser function. This may perform better than performing multiple queries and intensive joins.
There's an example of this exact concept in the rules chapter on pages 230-231 in the OneStream foundation handbook.
Regards,
Nick Kroppe
bilbrandon
4 years agoNew Contributor III
Hi, Nick.
Once the dashboard dataset rule is written, how do you assign it to the data adapter?
Thanks,
Bil
- ckattookaran4 years agoValued Contributor
Use the BusinessRule method, and then the format is {BusinessRule}{FunctionName}{Parameter}
- ckattookaran4 years agoValued Contributor
Related Content
- 4 months ago