Focal Point
[CLOSED] 'Level Of Detail' Expression?

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9267069096

December 07, 2018, 04:35 PM
Doug
[CLOSED] 'Level Of Detail' Expression?
I'm sorry for bring Tableau into this. But, what is the WebFOCUS equivalent to the Tableau 'Level Of Detail' (LOD) expression?

This message has been edited. Last edited by: Doug,


   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Most recent: 8204 Gen 48 in Test and Production.
   Currently Available. Please contact me.
December 07, 2018, 05:18 PM
Don Garland
I took a look at the Internet and found a pretty good explanation. To me it's kinda of on the order of COMPUTE with some kind of scope (FIXED, INCLUDE....) sort of.


https://onlinehelp.tableau.com...lds_lod_overview.htm


WebFOCUS Administrator @ Worldpay FIS
PROD/DEV/TEST: 8204, SANDBOX: 8206 soon - BIP, Reportcaster, Resource Manager, EUM, HyperStage soon, DB: HIVE,Oracle,MSSQL
December 07, 2018, 06:35 PM
Doug
Thanks Don,

Thanks makes sense... I think I did this by doing a HOLD FILE or two.

Doug
December 10, 2018, 10:27 AM
Doug
After more thought on this, it's not "[SOLVED]". Here's the deal,

1) I need to get the shipping status at a summary level, only three statuses: 'Shipped', 'Not Shipped', and 'Partial', based on the status of multiple ORDERS for multiple PROJECTS. I was using the following code, based on the 'users documentation'.
 
Shipped_Status/A11=IF SHIP_STATUS NE 'Active'                   THEN 'Shipped'
              ELSE IF SHIP_STATUS EQ 'Active' AND QTY_OPEN EQ 0 THEN 'Not Shipped'
              ELSE IF SHIP_STATUS EQ 'Active' AND QTY_OPEN NE 0 THEN 'Partial' ;
-*'QTY_OPEN EQ 0' means that there are no more items to be shipped for this ORDER.
That's NOT working...
Here's the user's Tableau code. They're referring to this as an "LOD Expression":
-* IF SHIP_STATUS="ACTIVE" THEN 
-* IF QTY_OPEN=0           THEN 1 ELSE 0 END
-*                                ELSE 1 END 

Thanks again...
December 10, 2018, 10:46 AM
BabakNYC
Doesn't the last THEN need an ELSE?


WebFOCUS 8206, Unix, Windows
December 10, 2018, 11:26 AM
Doug
Thanks Babak,

Oh My... I haven't forgotten an ELSE in a long time. Now that clock just got reset...

However, it didn't change the result as all the scenarios were covered.
December 11, 2018, 08:53 AM
dbeagan
Can SHIP_STATUS or QTY_OPEN ever be NULL?


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
December 11, 2018, 09:19 AM
Doug
Good question. But, Nope. I just verified that.
December 19, 2018, 01:09 PM
FP Mod Chuck
Doug

If this is still an open issue for you you may want to open a case with techsupport..


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
December 20, 2018, 09:11 AM
Doug
Not really an issue anymore. I closed it.


   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Most recent: 8204 Gen 48 in Test and Production.
   Currently Available. Please contact me.