The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
kmd
3 years agoContributor II
Clearing data for a very specific intersection / Data Unit
Hi all, Trying to delete an unnecessary member from the metadata but it won't delete due to 'existing' data. There isn't actually a value where it says a value exists but OS believes there is data ...
- 3 years ago
If you have a problem, if no one else can help, and if you can find them, maybe you can use... finance Api rules!
api.Data.ClearCalculatedData(True, True, True, True, "A#MyAccountParent.Base", "F#MyFlowParent.Base") '... other filters if necessary api.Data.SetDataCell("A#MyAccount:F#MyFlow", 0,True) ' other members as necessary, if not specified will fall back to NoneDrop that in a Custom Calculate, execute it with the related Data Management step, and you should be able to clear the specific intersections you need.
- 3 years ago
There could be translated data at a non-local currency. Go to System > Database tab > then Data Records. Put in the Time in the format T#2023 (full year) and in this view Value1, Value2, Value3 represent the Months M1, M2, M3. This will at least identify the intersection of data where the data exists.
If it is only translated data, and the source data in Local has been deleted, then you just need to run a Force Consolidate to clear the translated data.
Lastly, I have a BR that will do a targeted clear of a data cell. If you paste a reply here of the intersection you are trying to clear (Entity, Account, Origin, etc) I'll mock it up and post the code here for you.
Hope that helps.
MikeG
3 years agoContributor III
There could be translated data at a non-local currency. Go to System > Database tab > then Data Records. Put in the Time in the format T#2023 (full year) and in this view Value1, Value2, Value3 represent the Months M1, M2, M3. This will at least identify the intersection of data where the data exists.
If it is only translated data, and the source data in Local has been deleted, then you just need to run a Force Consolidate to clear the translated data.
Lastly, I have a BR that will do a targeted clear of a data cell. If you paste a reply here of the intersection you are trying to clear (Entity, Account, Origin, etc) I'll mock it up and post the code here for you.
Hope that helps.
kmd
3 years agoContributor II
Thank you so much for this. You are exactly right. After I posted the question, I wondered about the same thing and went ahead with a force consol and voila - it worked. Thank you again
Related Content
- 10 months ago
- 2 years ago
- 7 months ago