This recipe will show you a useful function which you will often need while working with dimensional and DMR models. As the purpose of this recipe is only to examine this function, we won't consider any specific business case here.
Create a new list report based on the Sales and Marketing (cube) package.
In this recipe we will see how the
roleValue() function works and how you can use it in your reports, as follows:
roleValue('_businessKey', [Retailer ...