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.
The customer is using a custom time dimension with PMF 5.2.2, the 4-5-4 week calendar widely used in retail (months follow a 4 weeks - 5 weeks - 4 weeks cycle). We've loaded the calendar succesfully and measures seem to work ok, but when we use the month name/abbreviation in reports, PMF sometimes shows "wrong" month.
In our case the calendar start in February, that is month # 1, but the first two days of the month are Jan 30 and Jan 31. The same thing happens e.g. in month # 2, March, first day is Feb 28. PMF shows these month as Jan and Feb respectively, thought they should be Feb and Mar. Months that don't have this "day overflow" problem show then name correctly.
Is there a way to control the month name, either by a PMF setting or a custom procedure? I tried looking through the manuals and searching the Forum, but had no luck.
Thanks for your help.
Cheers, MikaThis message has been edited. Last edited by: Mika Keranen,
WebFOCUS 7.6.x PMF 5.2.x
Posts: 58 | Location: Sydney, Australia | Registered: April 22, 2005
The problem with weeks straddling months is that sometimes you want to display the later month and sometimes you want to display the earlier month. Currently there is no mechanism in the dimension loader to use custom time AND to say "Fiscal month 1 always corresponds to calendar month February". Currently, PMF arbitrarily uses the earlier month to display.
However there are workarounds.
The time display information is stored in table PM_DIM01_DISPLAY. This table gets refreshed by the Dimension Loader whenever you run a load of Time by program pmf_dim_tbl_refresh_dim01_display.fex. If you look at PM_DIM01_DISPLAY you will see that there is a key field DIM01_HASH (which is just a concatenation of the time level values) and DIM01_DISPLAY which is the value which actually gets displayed.
My first thought is that you could create a post processing step which pulls out the month value from DIM01_HASH and then updates the display value. Depending on how often you re-run the loader for the Time dimension and whether you anticipate upgrading to new releases of PMF you can either run this program directly, or you could add it into the end of pmf_dim_tbl_refresh_dim01_display.fex. If you choose to run this program directly, then you will have to remember to re-run the program whenever you load new Time values. If you incorpoerate this new program into the PMF code - then you will have to remember to add it back in whenever you upgrade to a new release.
Alternaitvely, you could modify the logic of pmf_dim_tbl_refresh_dim01_display.fex, or you could even go into your database GUI and just update directly against the DB.
Finally, here's a question for the general PMF community: Is anyone else running into this problem? If so, we would consider adding additional functionality to the loader to automate this step.