Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    [WebFOCUS 8.1.05M] : Where vs Where Totals & Subtotals:Simple vs Subtotals:Recomputed
Go
New
Search
Notify
Tools
Reply
  
[WebFOCUS 8.1.05M] : Where vs Where Totals & Subtotals:Simple vs Subtotals:Recomputed
 Login/Join
 
Member
posted
Hello!

I am new in WebFOCUS and I am looking for a meaningful example where the results or outputs by Where vs Where Totals on one hand, and Subtotals: Simple vs Subtotals: Recomputed on the other hand are not the same.
Would you be so kind in pointing out an example, description, functionality, and limits of each of those instructions? I found that the techsupport is a little limited on this.

Thank you so much,
 
Posts: 1 | Registered: April 03, 2019Reply With QuoteReport This Post
Expert
posted Hide Post
Hi I ML,

Welcome to the forum,

I would suggest checking the documentation on WHERE V WHERE TOTAL and SUBTOTAL.

But simply WHERE is used to filter records and SUBTOTAL is used to create summary records in the report.

Selection Based on Aggregate Values


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6080 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
Gold member
posted Hide Post
Hi ML,
As Waz suggested documentaion on any topic is quite good for WF so do check that:

WHERE is filter
WHERE TOTAL is HAVING clause in SQL

SUBTOTAL - Summary based on a column or field e.g if you want to know the SALES for each country when using CAR master file you will use SUBTOTAL.

RECOMPUTE- When you have computed columns and want to recalculate the total lines. Eg when you have percentage calculations then if you just take the total then it will be more than 100 but if you use recompute it will recalculate you percentage on the total line.


WF 8.2.04
Windows/Unix
All Formats
In Focus since 2006
 
Posts: 74 | Location: UK | Registered: September 17, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    [WebFOCUS 8.1.05M] : Where vs Where Totals & Subtotals:Simple vs Subtotals:Recomputed

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.