Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I have a table as shown below;
I have my expression as;
=If(Header_1 <> 'Curr.to OEC', Rangesum(sum({<Snapshot_Date = {">=$(=Date(Addmonths(Max({1} Snapshot_Date),-2), 'YYYY-MM-DD'))"}>}POC_Adjusted_Value_USD)), ( RangeSum(sum(TOTAL<Region, Month, Country_Name, Snapshot_Date, Report_Param>{<Header_1 = {'Curr.mth.'}, Snapshot_Date = {">=$(=Date(Addmonths(Max({1} Snapshot_Date), -2), 'YYYY-MM-DD'))"}>}POC_Adjusted_Value_USD)) - RangeSum(sum(TOTAL<Region,Month,Country_Name,Snapshot_Date, Report_Param>{<Header_1 = {'Upd.OEC'}, Snapshot_Date = {">=$(=Date(Addmonths(Max({1}Snapshot_Date), -2),'YYYY-MM-DD'))"}>}POC_Adjusted_Value_USD)) ) )
This expression is working but when the values are same it is showing as null, look at the highlighted value in the image (182.378 - 182.378 = -)
Why is my value showing as - instead of '0'? any help is greatly appreciated.
thanks
Bhavesh
@uacg0009 I have tried Num() also but I'm not getting '0'. Please see the attached qvw for your reference
thank you @uacg0009