07-12-2024 09:41 AM
Hi,
i'm retrieving the annotations in CV where as i could retrieve as read only for the account type dynamic calc(third row in screenshot) for account type Revenue still i cell is editable(first two rows). how can i make them read-only?
i have already set the can modify data to false in both general setting/common & rows and columns/Data
regards,
Manju
07-12-2024 10:58 AM
The easy way is to set the POV of that column that is pulling your annotation to something with #Top in one of the other dims. That should make it read only.
07-12-2024 11:31 AM
Hi,
updated U7#Top it didn't work
I have UD 8 member to retrieve annotation as below
07-12-2024 11:45 AM
Is that U8 set as Allow Input = False?
07-15-2024 04:10 AM
allow Input was true but i changed to false it didn't work
07-15-2024 02:39 AM
Hi,
Annotations are different from data, e.g. you can input text also on parent members as you discovered. The easiest way may be to just set the entire column to a dynamic calc member, just as you did for row 3.
07-15-2024 04:15 AM
Hi,
i'm beginner, Can you please screenshot how can i change the accounts to be dynamic calc for only one column?
regards,
Manju
07-15-2024 05:40 AM - edited 07-15-2024 09:21 AM
Hi,
you should not change your existing account types when data has been loaded. Not knowing much about your use case, the following is one (of the many) way(s) to go about it. This approach assumes UD8#None is used for all data input and comment collection.
Then you add this member formula:
If api.View.IsAnnotationType Then
Return api.Data.GetDataCellEx("UD8#None").DataCellAnnotation
Else
Return api.Data.GetDataCell("UD8#None")
End If
You then go to the column2 definition of your Cube View and e.g. add your new UD8 member to the column's member filter:
Please note that this will apply to your entire column 2. Using overrides is more elegant and more pointed. But I am keeping it simple for now to show you the most basic way.
Overrides are those ones:
You should then be able to see the entered annotations and the original data in your CV, with the cells being no input.
In my example, the top half rows are using UD8#None in the point of view (POV) and the bottom half my new UD8 member. Please note that the way the formulas has been written, all data and / or comments will be pulled to be displayed in the CV, as long as those have been entered / loaded against UD8#None.
07-16-2024 09:06 AM
Hi,
UD8 member
formula for UD8 member
Cube view
Still the cells are open in report