COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: tarunkrdas2013 on 30 Nov 2015 04:25:36 PM

Title: The FOR clause of 'total' must reflect the left to right order of query items
Post by: tarunkrdas2013 on 30 Nov 2015 04:25:36 PM
Problem:-I have a DMR report as attached with this thread and when i select Country as United stated from Prompt page the report throws error as

"The FOR clause of 'total' must reflect the left to right order of query items up to and including the item that specifies the control break for the function. "

Any help in this would be highly appreciated
Title: Re: The FOR clause of 'total' must reflect the left to right order of query items
Post by: tarunkrdas2013 on 30 Nov 2015 06:06:30 PM
Thank you ,this issue got solved by changing expression from total ([Daily Refunds] for [Major Department]) to total ([Daily Refunds] within set [Major Department])