How to acess tuple/cell properties of MDX output through C#? -


i have mdx query pulling through using adomd.net cmd contains command text.

this, when run directly against cube returns following output, caption , count integar, being measure:

truecount    n 

however, how access measure/tuple/number through c# ?

i know how can caption, truecount out (see below), don't know how blooming number out.

//execute query, returning cellset cellset cs = cmd.executecellset();  //output column captions first axis tuplecollection tuplesoncolumns = cs.axes[0].set.tuples;  foreach (var column in tuplesoncolumns)     if (!column.members[0].caption.contains("all"))         truecount.add(new truecount() { counttitle = column.members[0].caption }); 

any ideas or pointers appreciated - apologies thick question.

i haven't used these functions run mdx, experience adomd captions of rows , columns accessed different object numbers in middle. think need @ cs object, , not within cs.axes.

in adomd mynumber = cs(x, y).formattedvalue

hopefully might lead in right direction!


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -