Jump to content
We've recently updated our Privacy Statement, available here ×

No such tuple on axis 0 error on iReport

Recommended Posts

How can I get measures value on iReport?

    select     crossjoin(reg.region.children,      {        [measures].[mtot],        [measures].[wtot]      }     ) on columns,     title.titlekhas.children on rows    from report1[/code]

There is my MDX query.

I have try add `fields` on iReport. <br>
When I add the `rows` and `cloumns` with this `expression` it works<br>

       <field name="Region" class="java.lang.String">      <fieldDescription><![CDATA[Columns[Reg][ListRegion]]]></fieldDescription>   </field>   <field name="Title" class="java.lang.String">      <fieldDescription><![CDATA[Rows[Title][Title]]]></fieldDescription>   </field>[/code]

But when i add measures with this `expression`<br>

    <field name="mtot" class="java.lang.Number">      <fieldDescription><![CDATA[Data([Reg].[region],?)]]></fieldDescription>    </field>[/code]

It return `No such tuple (...) on axis 0`

Am I doing wrong?
Every answer will be thankful.




Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...