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:
Didier