cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

use a detail variable as another query’s dimension

whyirene
Member
0 Kudos
351

I created a detail variable, with a merged key from two queries, how to use that detail variable as a dimension to a third query? I cannot find a joint value from these three queries to be a key.

View Entire Topic
vishalakshmi
Contributor
0 Kudos

Hello Wang,

you can achieve this by creating a derived table or a universe that combines the data from the three queries.

  • You've already created a detail variable by merging keys from two queries. Make sure this detail variable is defined correctly and contains the merged key values you need.
  • To use the detail variable as a dimension in a third query, you'll typically need to create a derived table or universe that combines the data from all three queries. A derived table is a table you create within the BusinessObjects universe specifically for reporting purposes.
  • In your derived table or universe, you need to map the detail variable to the appropriate columns from the original queries. This mapping tells the BI platform how to retrieve data for this variable.
  • In the derived table or universe, define the necessary joins or relationships between the data sources. This is where you link the data from your merged key (detail variable) to the relevant data in the third query. Although you mentioned that there might not be a direct key, you'll need to establish some logical relationship based on available data.
  • Now that you have a derived table or universe with the detail variable and the necessary joins, you can create your third query using the data from this source. In this query, you should be able to use the detail variable as a dimension.
  • Design your report or analysis using the third query, and include the detail variable as a dimension in your report.

Thanks,

Lakshmi.