![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Below is my Calculated members: iif(Measures.currentmember is [Measures].[Rx Base] OR Measures.currentmember is [Measures].[Photo Base] OR Measures.currentmember is [Measures].[Total Triple Base] OR Measures.currentmember is [Measures].[Wait Time Base], SUM([Time].[Year].[2005].Children, Round(Measures.CurrentMember)),Avg([Time].[Year].[2005].Children, Round(Measures.CurrentMember*100,0))) I have "Solve Order" of 10. For AVG the value for the cell is "85.4" but I wanted it to be "85.4%" But for SUM it should be just the normal. So If I change the "Format_String" then it change my SUM value too. Any help will be really appreciate!!! Sam |
#3
| |||
| |||
|
|
Next if-format works in AS 2005, but I do not test it in AS 2000. Format_String=IIF(..., '#,#', '#,#.0 "%"') Ohjoo "Sam" <msam77 (AT) gmail (DOT) com> wrote in message news:1167347019.088797.265000 (AT) 73g2000cwn (DOT) googlegroups.com... Below is my Calculated members: iif(Measures.currentmember is [Measures].[Rx Base] OR Measures.currentmember is [Measures].[Photo Base] OR Measures.currentmember is [Measures].[Total Triple Base] OR Measures.currentmember is [Measures].[Wait Time Base], SUM([Time].[Year].[2005].Children, Round(Measures.CurrentMember)),Avg([Time].[Year].[2005].Children, Round(Measures.CurrentMember*100,0))) I have "Solve Order" of 10. For AVG the value for the cell is "85.4" but I wanted it to be "85.4%" But for SUM it should be just the normal. So If I change the "Format_String" then it change my SUM value too. Any help will be really appreciate!!! Sam |
#4
| |||
| |||
|
| With Cell Calculation [FormatAvg] |
#5
| |||
| |||
|
|
Thanks But it does not work in AS 2000. Do you have any another ideas? Sameer Ohjoo Kwon wrote: Next if-format works in AS 2005, but I do not test it in AS 2000. Format_String=IIF(..., '#,#', '#,#.0 "%"') Ohjoo "Sam" <msam77 (AT) gmail (DOT) com> wrote in message news:1167347019.088797.265000 (AT) 73g2000cwn (DOT) googlegroups.com... Below is my Calculated members: iif(Measures.currentmember is [Measures].[Rx Base] OR Measures.currentmember is [Measures].[Photo Base] OR Measures.currentmember is [Measures].[Total Triple Base] OR Measures.currentmember is [Measures].[Wait Time Base], SUM([Time].[Year].[2005].Children, Round(Measures.CurrentMember)),Avg([Time].[Year].[2005].Children, Round(Measures.CurrentMember*100,0))) I have "Solve Order" of 10. For AVG the value for the cell is "85.4" but I wanted it to be "85.4%" But for SUM it should be just the normal. So If I change the "Format_String" then it change my SUM value too. Any help will be really appreciate!!! Sam |
#6
| |||
| |||
|
|
It looks like that there is no direct way with one single calculated member in AS2000. I tested two cases below and they work well with Foodmart 2000. Case1: Using Calculated Members with member measures.a as '[Unit Sales]',format_string='#,##0%' member measures.b as '[Unit Sales]',format_string='##0' member measures.c as 'iif([Unit Sales] > 7000, a, b)' select {a, b, c, [Measures].[Unit Sales]} on columns, order(except([Promotion Media].[Media Type].members,{[Promotion Media].[Media Type].[No Media]}),[Measures].[Unit Sales],DESC) on rows from Sales Case2: Using Calculated Cells with cell calculation [Unit Sales<7000] FOR '({[Unit Sales]})' AS 'CalculationPassValue([Unit Sales],-1,Relative)', CONDITION='CalculationPassValue([Unit Sales],-1,Relative)<7000', FORMAT_STRING='#,##0"%"' cell calculation [Unit Sales>=7000] FOR '({[Unit Sales]})' AS 'CalculationPassValue([Unit Sales],-1,Relative)', CONDITION='CalculationPassValue([Unit Sales],-1,Relative)>=7000', FORMAT_STRING='Currency' select {[Measures].[Unit Sales]} on columns, order(except([Promotion Media].[Media Type].members,{[Promotion Media].[Media Type].[No Media]}),[Measures].[Unit Sales],DESC) on rows from Sales Ohjoo "Sam" <msam77 (AT) gmail (DOT) com> wrote in message news:1167954102.176990.274750 (AT) v33g2000cwv (DOT) googlegroups.com... Thanks But it does not work in AS 2000. Do you have any another ideas? Sameer Ohjoo Kwon wrote: Next if-format works in AS 2005, but I do not test it in AS 2000. Format_String=IIF(..., '#,#', '#,#.0 "%"') Ohjoo "Sam" <msam77 (AT) gmail (DOT) com> wrote in message news:1167347019.088797.265000 (AT) 73g2000cwn (DOT) googlegroups.com... Below is my Calculated members: iif(Measures.currentmember is [Measures].[Rx Base] OR Measures.currentmember is [Measures].[Photo Base] OR Measures.currentmember is [Measures].[Total Triple Base] OR Measures.currentmember is [Measures].[Wait Time Base], SUM([Time].[Year].[2005].Children, Round(Measures.CurrentMember)),Avg([Time].[Year].[2005].Children, Round(Measures.CurrentMember*100,0))) I have "Solve Order" of 10. For AVG the value for the cell is "85.4" but I wanted it to be "85.4%" But for SUM it should be just the normal. So If I change the "Format_String" then it change my SUM value too. Any help will be really appreciate!!! Sam |
![]() |
| Thread Tools | |
| Display Modes | |
| |