Forum Discussion
MarkMatson
3 years agoNew Contributor III
Hi,
I have used Complex expressions in the Data Source which should be able to do this, with something like:
If IWantParentText Then
Dim loadedEntity As Member = BRApi.Finance.Members.GetMember(si, dimType.entity, args.Value.toString)
Dim loadedEntityParent As list(Of Member) = BRApi.Finance.Members.GetParents(si, brapi.Finance.Dim.GetDimPk(si, "Entities"), loadedEntity.memberId, False)
' Return Text1
Return brapi.Finance.entity.Text(si, loadedEntityParent(0).memberId, 1)
Else
Return args.Value
End If
You can also put the complex expression in a mask Transformation rule.
DM me if you can't get it going and I'll see if I can help.
Related Content
- 11 months ago
- 11 months ago
- 11 months ago
- 10 months ago