You could do a Row/Col reference in your Cube View. Or, you could create a dynamic UD8 member and drop that in your Cube View. As a best practice I'd recommend the UD8 route as those can be re-usable across numerous Cube Views.
The Dynamic Calc member formula then returns the variance. Included here is a check to make sure this does not run against Annotation type data cell intersections.
'This UD member is for reporting purposes.
'It displays the variance of the selected account's amount relative to the prior year.
'Only run if the view is not of an annotation type
If (Not ViewMember.IsAnnotationTypeViewId(api.Pov.View.MemberId)) Then
Thanks Mike. The problem I am having is that POV prior 12 does not work with the .base in column 1. It is giving me the same PY T# for all three months in the quarter. For example if 2022 Q1 was selected It would give me 2021M1 for months 1-3.
Do you have the Prior Period (Prior Year) as a Column in your Cube View? if the data is present in the Column you could do CVC math. Send a screen shot of your editor and I could help with the specific syntax in your use case.
Something similar to this: These are Columns in a particular Cube View and how the CVC dynamic math syntax would look: