Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Were Do Statement

Status
Not open for further replies.

Angel2

Technical User
Dec 11, 2003
1
GB
Is it possible to do a Were Do statement is Cognos rather than and If then Else Statement.

Im trying to write a Profit and Loss report. I have a prompt to get the required period but i also need the previous three periods to show also. Ive been using the calculation total(if (period = prompt-1) then amount else null). Id actually like this to read Were (period=prompt-1) do....

I have coded the were period in the filter but i actually need the were in the calculation also.

Help

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top