Discuss formulas and business rules for your application.
Recently active
We have a logic that makes a multiplication of Transfer for Tax by Grouping Regime by Tax Rate (38,007 *0,1). It works for all entities, except one (here it always show 0): Do you have any idea why?Thanks a lot!
Is there an easy way, to copy data from one cube to another (with different dimensionality)
Is it possible to test if a consolidation or a data management job is already running before running it again ? Ex: I run a consolidation (about 10min) but another people run the same consolidation the same time Thank you for your help
Hello communityI have quite a stupid question. We have two functiont types for Member Lists, MemberListHeaders, MemberList.I couldn't figure out what the purpose of MemberListHeaders is. If I define a list in "MemberList" without having it in "MemberListHeaders", everything works fine. And if I add a list to "MemberListHeaders", it's not popping up anywhere in the application, as far as I saw.I was expecting something like in HFM: the Headers was used to display the list in a dropdown from which the user was able to select it, while the "List" was the place where the list was defined.I'm sure there's a use for MemberListHeaders, but I haven't gotten yet.Marco
Hello,I have InUse for default time and scenario = TrueI also have InUse for default time and scenario for 2023M5 = False.Note that the period could also be different.Now, how could I reset the InUse settings to disable the False or True on ALL time for default Scenario?In my example above, I am expecting the property for 2023M5 to be deleted. What brapi would you use? can you show me an example?Thanks
Hello,I'm trying to create a transformation rule for a specific entity that if it's a specific account (6189) it would go into a specific UD3. I'm not sure how to do this because there's 2 specific criteria needed, instead of being a 1:1. I'm new to OS, so all the tips and tricks help!Thanks,Will
Has anyone tried to rename scenarios using a business rule to have a rolling set of prior forecasts. In this case the client is to trying to have weekly scenarios for the prior 5 weeks. Once a week they will be importing into the current working scenario and rolling each prior scenario back one week.I tried using the code below but get the error "Error processing Data Management Step 'Roll_CAR_Weekly_Scenarios'. Unable to execute Business Rule 'Roll_CAR_Weekly_Scenarios'. Error renaming member 'CAR_PrWk5_MTD'. Invalid parameter 'CAR_PrWk5_MTD'."Thanks.
Hello,I am using 2 cultures on a server.I need to make some changes of entity properties from a BR.I know how to do it for properties like ALLLOWADJI can not find a way to change all the descriptions from the BR : I mean the Default + English + French.Any help appreciated.ThanksPS: I did read that 🙂 https://community.onestreamsoftware.com/t5/Rules/Update-description-of-a-member-in-an-Extender-rule-for-an/m-p/13158
Hi,I have a custom SQL table for people planning and want an ID field as my primary key. (The existing fields that would be good for a primary key need to editable (e.g. entry date) so I cannot use a set of existing fields as my primary key. Setting a field as a primary key makes that field not editable.) My question is how to set a field's default with a SQL code, "select NEWID()" which generates a unique code? I tried creating a parameter as a Bound List and SQL code with this query but when the dashboard with the SQL table editor is opened I get a pop up window asking for an input for this parameter. How are primary keys normally handled in this case? Thanks.
Hi all,I'm developing a dashboard that will likely be used by 10 different people. I'd like to lock the access to other users if one user has the dashboard already open (and maybe until he/she clicks on a button to unlock it?)Does anyone have a reliable approach to do this?Thanks in advance!
Hi Team, I have tried to make a simple task - if user in not in group I would like to change a certification status to rejected.This code is in DataQualityEventHandler:Case Is = BREventOperationType.DataQuality.Certify.FinalizeSetQuestionairreStateDim sGuid As String = "419eeb3d-eaec-43fc-bc0a-cab5862323f10"Dim Guid_1 As New Guid(sGuid)If BRApi.Security.Authorization.IsUserInGroup(si, si.UserName, "GROUP",False) = False ThenBRApi.DataQuality.Process.ExecuteQuestionnaireSignOff(si,si.WorkflowClusterPk,Guid_1,CertSignOffStates.ProfileRejected,"Comments")End If It always returns "Certified", but should "Rejected": Any ideas what am I missing?
Is it possible to change the orientation of a report using a business rule?I can't see any options for it when creating a custom report task in a cube view.
Hi I have created a member list on Account dimension members to pull accounts with Account type "Balance Recurring". Now I need to use this member list in Finance BR - Calculate Function Type to loop through this member list and copy data from December to Jan.I would like assistance on the syntax to filter by this member list on a data buffer function to pull the December data. Also I would like to know whether the member list will be executed one time and stored in the memory and used across all entities OR will it be executed for each entity when it runs through the consolidation process?I want to make sure using member list to achieve this data copy is performance efficient than directly filtering the members within the Finance Calculate BR using api.Data.GetDataBufferUsingFormula("RemoveNoData(FilterMembers(A#Root.Base.Where(AccountType = 'BalanceRecurring')
Hi ! I want to confirm a data management behaviour... Right now I have data in a driver on Entity 9999, that I need in order to calculate data on entity 1032. The output should be on entity 1032. I am using a data management job where the DUCS are set for Entity 1032. However when I run the DM, my data buffer is not getting any data for Entity 9999. I think somewhere someone mentioned that using SetDataBufferVariable you can retain data in the whole Data Management sequence, so I tried to change the Data Management DUCS to "E#9999, E#1032". But the variable seem to be cleared when cycling to the second entity. Then my question is : How can I get my data buffer to "read" data from another entity (E#9999) when my data management job run on E#1032 ? Here's my code which obviously doesn't work at the moment. The goal is simply to have databuffer1 get data from Entity 9999, and databuffer2 to get data from current entity 1032: Dim dbr1 As DataBuffer = NothingIf api.Pov.Enti
We have several parser rules that are running on our connector to d365. Is there a way to see what the affect on run time is from each of these rules? Do these rules run on all data that is queried from our connection or just new data?
Hi all,I'm working on a Business rule that will be triggered as soon as a user clicks on a button within a dashboard.Is there a way to retrieve the Username of the user that clicks on the button? Thanks in ad
Hello - is there a way to make the below work inside GetDataBufferUsingFormula .Getting Error processing script 'V#Periodic:F#EndBal_Input:A#:U1#USF02'.Dim SrcDataBuffer As DataBuffer = api.Data.GetDataBufferUsingFormula("FilterMembers(V#Periodic:F#EndBal_Input:S#Actual:T#" & sLastActMth & ":U1#" & mCostCenter.Member.name & ",[A#[PNL].Base.Where((Name StartsWith '4') or (Name StartsWith '5') or (Name StartsWith '7') or (Name StartsWith 'X'))], [U3#[TopUD3].Base],[U2#[TopUD2].Base])").Looks like not recognizing filter with 'or' inside where clause. Below works fine without an 'or' condition.Dim SrcDataBuffer As DataBuffer = api.Data.GetDataBufferUsingFormula("FilterMembers(V#Periodic:F#EndBal_Input:S#Actual:T#" & sLastActMth & ":U1#" & mCostCenter.Member.name & ",[A#[PNL].Base.Where(Name StartsWith '4')], [U3#[TopUD3].Base],[U2#[TopUD2].Base])").
Hey all, I'm struggling to figure out how to define a TableViewColumn to be of type Decimal instead of the default type being Text. I'm in the section where I create a TableViewRowHeader and adding TableViewColumns to it. I can create a new column: Dim myTableViewColumn As New TableViewColumn myTableViewColumn.Name = "Col1" But when I try to set the type to this column, I get an error " Input string was not in a correct format." when trying to retrieve the table: myTableViewColumn.DataType = XFDataType.Decimal Is this syntax correct? I'm assuming that it's in the column definition where I should be defining the datatype but now not so sure. Hopefully someone can point me in the right direction. As a side note, page 15 in the Table Views User Guide makes reference to a function called CreateTableViewColumn. Is this a custom function or part of the OS library. The compiler doesn't recognize this function.
Is there any way we can use the transformation profile one to one mappings in a data table. Preferable to use in a connecter Drill back code. Is there any Data base table for the same.If not, we have a create a custom XFC table in application DB to refer the same that replicates the transformation profile.
Hi, Is there any way to get DataManagement step failure email notifications? I have one sequence which use some DM steps to perform Clear and Consolidations. I do not want use a business rule to call in a Custom calculation.Thanks for your help in advance.
Hello, I have a sub folder that is being populated each month with a variety of files, it is different from month to month. The naming convention of the subfolder is consistent. It is always the fiscal period. However when I try to zip the files in the folder I am unable to define a path. The folder is "Application Database/Documents/Public/" then the fiscal period. However my code is never able to find it. I think it is because we are on the cloud. Any insight on how to define the process for zipping all the files in that folder into one document so it can be sent out through parcel service would be appreciated.Thanks,Tom
I have a process that builds a data buffer using Data Buffer Cell Loop logic. I need to check the cell status on each record and perform certain actions based on the status. Specifically, I want to make sure all 12 Account-Type dimensions are referencing a base member and correct them if they aren't.However, I'm not getting the correct Cell Status when the cell is in a data buffer. For example this code creates two data cells and logs their status. (In this case, I'm looking at DataCells, but the behavior is identical on DataBufferCell objects). Metadata is from GolfStream.: Dim baseMemberFilter As String = "A#50200:O#Import:U2#None:U8#Test" Dim cellPk As DataCellPk = api.Data.ParseDataCellScript(baseMemberFilter) Dim cell As DataCell = api.Data.CreateDataCellObject(cellPk, True, 100, False, False) api.LogMessage("Base UD2 GetMemberScript: " & cell.DataCellPk.GetMemberScript(api)) api.LogMessage("Base UD2 CellStatus.UD2HasChildren: " & cell.CellStatus.UD2HasChildren) Dim
Hi all,the SetDataCell command I am trying to use is behaving in a strange way and I would like to check if that is a bug, if it is by design, or if I may be doing something wrong.I am trying to use the SetDataCell command to clear data on the Origin=Forms. The command looks like this (it is part of a custom calc rule):'Clear data on the Form memberapi.Data.SetDataCell("Cb#Main:E#" & MainPovEntity & ":S#" & MainPovScenario & ":A#AC410000:U1#None:U2#None:U3#" & UD3Name & ":U4#None:U5#Local_GAAP:U6#None:U7#None:U8#None:O#Forms", 0, True)Now, if the UD3 member which I am trying to clear has data on the Origin=Import member, the Forms member is correctly set to zero by the rule. However, if the UD3 member has no data on the Origin=Import member (on that specific Pov intersection defined by the rule above), the Forms member retains its value. Anyone else experienced this behavior? Thank you
Hi All,I am using FdxExecuteDataUnitTimePivot to export data from onestream cube, everything working as expected except one issue. i.e., I am using consolidation member C#Aggregated beacuse i want to export data for C#aggregated, but FdxExecuteDataUnitTimePivot is exporting data from C#CAD. All our users input data at C#CAD, also default currency on entity is CAD. Just want to know is this the known issue, or FDX designed to export only base currency? Is there any way to pull only C#aggregated with FdxExecuteDataUnitTimePivot.
Are there any resources for building an external library? I'm looking to build a dll and getting an ambiguous namespace issue for DbConnInfo. It appears to be an issue between the OneStream.ClientWindowsBRApi.dll and OneStream.SharedDatabaseTables.dll.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.