Skip to main content
January 25, 2024

Retrieve POV member from XFBR rule in a cube view

  • January 25, 2024
  • 3 replies
  • 0 views

Hi everyone!

I'm currently building a linked cube view that will inherit the Entity and IC members from the original cube view from which it is called.

The IC member, though, will need to go through a transformation (remove the last 3 digits) so I created a XFBR rule to do so.

For example, if the Entity member will be 1010TRW, the IC will be 1010.

I tried to call the XFBR rule in the POV but when I launch it it returns the following error:

"Index and length must refer to a location within the string."

 

Am I missing something?

Below you can find a screenshot of the POV of the linked CV


fc_0-1706198044884.png

Thank you in advance!

3 replies

January 25, 2024

Er, I think you meant to post the actual XFBR code, surely...? 😊 The error comes from that.

January 26, 2024

Hi Fc,

Also it'd seem that there's no input on the function so when you delete the last 3 chars, there's an issue with the index. Could you share the code?

Also You can check that the navigation links on the main CV have the same names as those that you call in the image. 

Best regards

fc5Author
February 19, 2024

Sorry for the late response

The error indeed came from the XFBR code, now it works fine

Thank you both!