Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
rm1
Contributor III
Contributor III

Check sales based on dynamic filters, starting from a default condition

Hello everyone,

I need a hint to perform a calculation based on selections applied to my report.

I have different levels of segmentation: BRAND, PRODUCT LINE, PRODUCT, etc

Now, I need to check sales based on the selected segmentation level. But I need to choose also a specific default level if nothing is selected. How can I write a formula that says "if segmentation is not specified use product level as default, otherwise use the selected level"?

I thought something like: sum({$ < segmentation=p(segmentation) > }sales), but I need to add the default condition of product level.

Thanks in advance for any help!

Labels (3)
1 Reply
w0jt4z
Contributor III
Contributor III

I use the extension "SimpleFieldSelect". This extension allows to set default Value of my dimensions.