Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
I have the following fields:
Category
Issue
Sum of activities.
I have a pivot table.
the 2 dimensions are Category and Issue. the expression is" sum of activities". I want that the expression will be affected only be the first dimension (Category) and not by the 'Issue' dimension. I tried to use the following function:
Count(Total<issue> activities)
But it didn't helped. maybe i should use something with Dimensionality function ?
Really appreciate your help. thanks
TOTAL does not concern selections, just dimension combinations in the table. See the attached example, as you can see it does ignore Issue as a dimension. But if you select a single Issue, that will still influence the result.
If you want to ignore the selection, you need set analysis. If you need to ignore both selection and dimension, you use both. I've shown all cases in the example, try selecting one or more Issue and see how it works.
(Oh, and if you really want you can try just using ALL instead of TOTAL, but that's legacy stuff, don't do it )
Hi,
Try like
Sum({<issue=>}activities)
Regards
I made a little mistake, the total function I tried to use is: Count(Total<Category> activities)
Max thanks for your answer but unfortunately it didn't work.
Did it do anything at all? Because generally, yes, it should calculate the Count() as if there was only one dimension (Category) in the table. Of course there are two dimensions visually, so this result will show up under every single combination of Issue and Category for a given Category.
Could you elaborate on what effect would you like to achieve?
Hi Jakub thanks for answering.
Lets say I have "animals" Category.
The Issues under the category are: dog, cat, fish and bird.
I want that when the table is collapsed and expanded the count of issues will always be 4 and won't be affected from the selected issue. I thought that the function total does that.
TOTAL does not concern selections, just dimension combinations in the table. See the attached example, as you can see it does ignore Issue as a dimension. But if you select a single Issue, that will still influence the result.
If you want to ignore the selection, you need set analysis. If you need to ignore both selection and dimension, you use both. I've shown all cases in the example, try selecting one or more Issue and see how it works.
(Oh, and if you really want you can try just using ALL instead of TOTAL, but that's legacy stuff, don't do it )
Thank you so much!