Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    [solved] Return Measures by passing a low-level dimension value; wildcards?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[solved] Return Measures by passing a low-level dimension value; wildcards?
 Login/Join
 
Guru
posted
Hi,

Let's say I have a four-level dimension, and I want to see all the measures for a particular value in the fourth-level of the dimension. I do not know what Levels 1-3 contain, just Level 4.

Example:
  &DIMENSION_NAME = '<UNKNOWN>~<UNKNOWN>~<UNKNOWN>~087-50-6562';


If I was building a gadget, I could do a -SET on the Dimension name, as long as I knew the values for levels 1-4. Is it possible to use wildcards for levels 1-3 and a specific value for level 4? I tried % and *, but it didn't return any results.

I also experimented with querying the DIMENSIONS table directly, like this:

TABLE FILE DIMENSIONS
BY LEVEL_01_VALUE
BY LEVEL_02_VALUE
BY LEVEL_03_VALUE
BY LEVEL_04_VALUE
WHERE LEVEL_04_VALUE EQ '087-50-6562';
END

I was going to do a READ and then concatenate the values to build a filter, but I immediately ran into a problem. There are actually two records returned for this dimension value, which throws my plan out the window. I need the results to include both records, not just the highest/lowest/first/last record.

Any ideas?

Cheers,

Joey

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


-WebFOCUS 8.2.01 on Windows
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
Platinum Member
posted Hide Post
Hey Joey,

Is this value ('087-50-6562') in different branches of the same Dimension, like you could have the city Springfield in many states, or is it two different Dimensionsv- perhaps there is a customer who just happens to be named 'Springfield'?

EricH
 
Posts: 164 | Registered: March 26, 2003Report This Post
Guru
posted Hide Post
Hi Eric,

Same dimension, different branches, just like your Springfield example.

Cheers,

Joey


-WebFOCUS 8.2.01 on Windows
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
Guru
posted Hide Post
I wonder if anyone has any ideas about this? It's becoming more of a requirement each day, although I have said I'm still researching if it is even possible.

Cheers,

Joey
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
Gold member
posted Hide Post
Hi Joey,

Try using 30 characters of '^' for each level that you want to use a wildcard for.

So for your example of:
&DIMENSION_NAME = '~~~087-50-6562';

You would use:

&DIMENSION_NAME =
'^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^~087-50-6562';

For those using pre-514 of PMF you would not use the delim character of ~. So it would instead be:

&DIMENSION_NAME =
'^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^087-50-6562';

Let us know if this works.

Cheers,
Mike
 
Posts: 57 | Registered: December 03, 2007Report This Post
Guru
posted Hide Post
Hi Mike,

This works very well, actually. I am impressed, thanks so much.

Cheers,

Joey
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    [solved] Return Measures by passing a low-level dimension value; wildcards?

Copyright © 1996-2020 Information Builders