DBRW ClientGroups

Post Reply
dubs
Posts: 131
Joined: Fri May 22, 2009 10:43 am
Version: 9.4
Excel Version: 2003

DBRW ClientGroups

Post by dubs »

Hi all,

bit of an odd one. I was trying to retrieve a user group in excel using the DBRW function.

I am 99.9% certain i had this working but typically excel crashed lost my work and now when i try and type in the same command i get a key error. Im simply baffled.

Code: Select all

=DBRW("[TM1 SERVER]:{ClientGroups",[USER],[GROUP])
Anyone successfully intergogated the ClientGroups cube via DBRW?

cheers
Wim Gielis
MVP
Posts: 3223
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: DBRW ClientGroups

Post by Wim Gielis »

For me, this works as one would expect:

Code: Select all

=DBRW("bv:}ClientGroups";"wim";"admin")
(Separator for arguments in the formula is ; in Dutch)

Note that your { is turned to the wrong side.

I am logged in with a client that has admin rights.

Excel 2003, TM1 9.4 MR1.

Wim
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
dubs
Posts: 131
Joined: Fri May 22, 2009 10:43 am
Version: 9.4
Excel Version: 2003

Re: DBRW ClientGroups

Post by dubs »

oh my goodness!! i think that well may be it!! can't believe I've made such a simple mistake :o

ill test it when back at work but thank you, thank you, thank you! now excuse me while i go kick myself :D
dubs
Posts: 131
Joined: Fri May 22, 2009 10:43 am
Version: 9.4
Excel Version: 2003

Re: DBRW ClientGroups

Post by dubs »

just to confirm it was simply data-blindness on my part- i had the bracket round the wrong way and for some reason simply couldn't see it

cheers!
Wim Gielis
MVP
Posts: 3223
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: DBRW ClientGroups

Post by Wim Gielis »

No problem, once and again that happens to all of us I think ;)
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Post Reply