Hi all,
I have requirement where dashboard prompt have year(Pyear_pv) and month (Pmonth_pv) as filters.
Report is as follows:

2016, 2015 columns are populating through presentation variables (heading also through PV ).
The script for 2016 column is:
case when "- Shipment Period Dimensions"."Year"=('@{Pyear_pv}{2016}') then count(distinct "- Shipment Dimensions"."Power Unit GID") end
Here "power unit GID" is dimension column and can have duplicate values.
The script for 2015 column is:
case when "- Shipment Period Dimensions"."Year"= ('@{Pyear_pv-1}{2015}') then count(distinct "- Shipment Dimensions"."Power Unit GID") end
Here i need to get data for current year (selected through db prompt) and previous year.
NOTE: I am using obiee 11g, cloud instance (oracle FTI instance), there is no time series feature.
Problem:
In table view i am getting correct value. But when i convert into pivot view then the values are not coming correct.
The report format is pivot format. Please let me know how to achieve the correct result.
Regards,
Ram.