Guru
| quote: Originally posted by Nicholas Spyrison: We determined that the issue is not with the -DEFAULT. gui broke when I added an &var in WHERE statement from within the code. I went back and tried to add the WHERE from within the gui, but it comes up with an error message failing to cast something to apache.
But using &var has to be one of the most common things to do in charts right? Can someone please post their WEHRE statement from a chart with a working gui using a &var.
This is just making less and less sense to me, or am I just going crazy?
Nicholas - How did you solve this? I'm having the exact same problem but I don't see the solution in this thread. Thanks.
Webfocus 8 Windows, Linux
|
| Posts: 258 | Location: Palm Coast, FL | Registered: February 05, 2010 |
IP
|
|
Gold member
| The issue ended up being in the WHERE statement. The Chart code uses different syntax. It expects explicit statement of the field type something like:
WHERE DM.DM.Date_Calendar_Month_YYYYMM GE &YM_START. (|FORMAT=I6).QUOTEDSTRING;
Try to use the GUI to get a couple of examples and then try to replicate that from the editor. If I recall correctly the chart component was still broken after I fixed the code. after I created a new chart component and copied the code over the GUI was working again. Hope this helps and can prevent some headache.
_____ WF 8.1.04 Win 7// Windows Server 2012 R2 SASS OLAP Cube
|
| |