As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Hello Gurus, I'm wondering if anyone could throw me some pointers on how to best prep my data for a report that shows monthly totals by dimension. Occasionally some months don't have an entry for that dimension which I still need to show it as 0. I have two unique datasets as hold files, just need to merge or combine the two columns to repeat by dimension for every month as shown in the image here. Screenshot
TABLE FILE BKLGDATA
BY MTH_GL
END
TABLE FILE BKLGDATA
BY BG
END
Please let me know of any ideas. Thanks! -PThis message has been edited. Last edited by: vaayu,
Posts: 289 | Location: Houston,TX | Registered: June 11, 2004
One is to create "buckets" that will then be filed by the data. And to perform this there is also few ways.
You can create a file that will contain all available dimension with dummy measure bucket that will then be merged with real data.
DEFINE FILE GGSALES
YR /YY = DATE;
MM /Mt = DATE;
END
TABLE FILE GGSALES
SUM COMPUTE DOL /D8 = 0;
COMPUTE BDG /D8 = 0;
BY REGION
BY PRODUCT
BY YR
BY MM
ON TABLE HOLD AS BUCKETFIL
END
-RUN
DEFINE FILE GGSALES
YR /YY = DATE;
MM /Mt = DATE;
END
TABLE FILE GGSALES
SUM DOLLARS/D8 AS 'DOL'
BUDDOLLARS/D8 AS 'BDG'
BY REGION
BY PRODUCT
BY YR
BY MM
ON TABLE HOLD AS EXTDATA
END
-RUN
TABLE FILE BUCKETFIL
SUM DOL
BDG
BY REGION
BY PRODUCT
ACROSS YR
ACROSS MM
MORE
FILE EXTDATA
END
-RUN
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013