Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8646391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:47:43+00:00 2026-06-12T12:47:43+00:00

Can i pass a parameter from a calculated member on a ssas 2008 cube

  • 0

Can i pass a parameter from a calculated member on a ssas 2008 cube to cognos report studio? I know how to do this in Microsoft reporting sevices, but not Cognos Report Studio 10.1. I do not know the format the calculated member should be in, or how to get Cognos to recognize any parameters passed. Example: Say i wanted to pass the code below, that shows the top 25 accounts, but instead, i wanted to adjust it to have a variable / parameter that enabled me to adjust it at run time to say the top 10 accounts. Is this possible. I know i can create the code in report studio itself, but i would rather do it in the cube for performance and re-usability reasons. Here is a copy of this particular example and thank you!

           TOPCOUNT( [Instrument].[Account Name].[Account Name].members,
           25, [Measures].[Committed Amt])**strong text**
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T12:47:45+00:00Added an answer on June 12, 2026 at 12:47 pm

    If I understood you correctly, you can do it in the following way:
    Drag a data item into the query and use the embeded parameter (?prmTopCount?):

    topeCount([Instrument].[Account Name].[Account Name], 
    ?prmTopCount?, [Measures].[Committed Amt])
    

    You can build a prompt page and define a textBox Prompt which uses existing prompt (prmTopCount).
    I have also tried to write manual MDX in the report, but it looks it does not support macros embedded inside the manual written MDX.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this is impossible to pass parameter from javascript to scriptlet code in
How can I pass a parameter from batch to vbscript? My batch script sends
I know that I can pass a string as the second parameter to the
can anyone give me an idea about how to pass parameter from objective c
How can I pass more than one parameter from jQuery to an ASHX file.
Can any body help me in knowing how to pass a parameter from a
I want to know how can I pass a parameter to the Rest url
How can I Pass parameter from FormPanel of GWT to Servlet? FormPanel formPanel =
How to custmoize a UIview with two UIbutton where user can pass parameter to
I see that with SQL Server 2005 you can pass a parameter as numeric

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.