Calling DBRW function without mentioning instance name in the first argument
Posted: Fri Jul 20, 2018 12:10 pm
Hello Everybody,
I am trying to call DBRW function in excel. I know it is simple to call.
But my question here his can we call DBRW function from excel without mentioning instance name in the first argument (cube argument) in the function.
I want to return instance name from the cube (where the instance value stored). To achieve that I have to use DBRW function. But I want use DBRW in a different way.
Let us understand above scenario with an example:
Say my instance name is 'MyInsta'.
'MyInsta' value stored in a cube named 'MyCube'.
I want to return 'MyInsta' value from cube 'MyCube' using DBRW (or any other alternative if we have any).
The standard notation is DBRW("MyInsta:MyCube", dimelem1, dimelem2, dimelem3,..., dimelemn)
But I cannot use above notatino as I want to return 'MyInsta' value from 'MyInsta' itself rather than hardcoding in the DBRW function/or store any where in the excel and call that from excel cell.
Let me know if any one have any insights on the above case.
Thanks,
Hemanth
I am trying to call DBRW function in excel. I know it is simple to call.
But my question here his can we call DBRW function from excel without mentioning instance name in the first argument (cube argument) in the function.
I want to return instance name from the cube (where the instance value stored). To achieve that I have to use DBRW function. But I want use DBRW in a different way.
Let us understand above scenario with an example:
Say my instance name is 'MyInsta'.
'MyInsta' value stored in a cube named 'MyCube'.
I want to return 'MyInsta' value from cube 'MyCube' using DBRW (or any other alternative if we have any).
The standard notation is DBRW("MyInsta:MyCube", dimelem1, dimelem2, dimelem3,..., dimelemn)
But I cannot use above notatino as I want to return 'MyInsta' value from 'MyInsta' itself rather than hardcoding in the DBRW function/or store any where in the excel and call that from excel cell.
Let me know if any one have any insights on the above case.
Thanks,
Hemanth