BookmarkSubscribeRSS Feed
Pgloria
Obsidian | Level 7
Hello,
I'm creating a report based on a cube, on that cube I have 2 measures with solve_order=2 and they both derive from the same measure, when test them in the SAS Information Map Studio everything works great.
My problem is when I create the report in WRS only one of those 2 measures will appear and the one that does not appears, only appears when it is the only measure in the report.

Here are my derived measures:
DEFINE
MEMBER '[CUBO_RACIOS].[Measures].[Real Mensal]' AS
'[Measures].[Real Mensal_1]*2,FORMAT_STRING="COMMAx20.1", SOLVE_ORDER=2';

MEMBER '[CUBO_RACIOS].[Measures].[coiso_mensal]' AS
'sum({[dim_tempo].currentmember.lag(iif([dim_tempo].currentmember.level.ordinal=1,1,12))},[Measures].[Real Mensal_1]), FORMAT_STRING="COMMAx20.1", SOLVE_ORDER=2';


Thanks in advance 😉
1 REPLY 1
AngelaHall
SAS Employee
Do you experience the same results when you try the following options:

1. Have different solve orders (1, 2, 3) rather than the same number?
2. Remove the solve_order option altogether?

The solve_order option is utilized when measures are depending on one another. In your example below, the coiso_mensal measure doesn't depend on the Real Mensal measure. http://msdn.microsoft.com/en-us/library/ms145539.aspx

Another question - which measure is appearing in WRS? Is it always & only the coiso_mensal? If so, another suggestion would be to modify the first measure's name so that no spaces exist. (i.e. "Real_Mensal" instead of "Real Mensal").

~ Angela Hall
http://sas-bi.blogspot.com

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 628 views
  • 0 likes
  • 2 in conversation