Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2069

Re: Webi: Add Quantity only if Unit of measure is same & do not display when value is null

$
0
0

Hi Shravya,


You need to create a variable to know if the UOM is unique:

UOM is unique: =If Max([UOM]) = Min([UOM]) Then "True" Else "False"


Then write the following formula for the each Total calculation in the break footer:

Qty1: =If [UOM is unique] = "True" Then [Qty1]

UOM: =If [UOM is unique] = "True" Then [UOM]


If Currency needs also to be unique then you need to change the formula for "UOM is unique" variable like this:

=If Max([Currency]) = Min([Currency])  and Max([UOM ]) = Min([UOM ]) Then "True" Else "False"


Here is a screenshot to illiustrate the solution:

Multi-UOM.png


Didier


Viewing all articles
Browse latest Browse all 2069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>