SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Percentage (calculated measure)


Percentage (calculated measure)

Author
Message
Hariharan-202345
Hariharan-202345
SSC Journeyman
SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)SSC Journeyman (75 reputation)

Group: General Forum Members
Points: 75 Visits: 31
Hi guys,

Am a newbie to BI solutions. We have a scenario where the client is asking for analysis report as shown below:

Top 10 illness by claims paid

Member type: Employee

Diagnosis %

Essential (Primary) Hypertension 14%
Pneumonia, Unspecified 12%
Cholelithiasis 11%

The member type and diagnosis are already available as Dimensions. Claims paid is a measure. I have to arrive the % of claims paid for each diagnosis over the Total claims paid of all the diagnosis.

Since am very new to this analysis reporting, am struggling to find a way to do this %.

I know another way of doing is to modify the underlying MDX query. Since the MDX query is not so user friendly am trying to find out if there are any other possibilities of achieving the above.

Any help is much appreciated.

Cheers,

Hari


Kindest Regards,

Hari

omlac
omlac
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 61
hi
in the textbox go to properties and choose the format tab, next to format code: the is a button with ..., click it and choose percentage, your value might have to be in decimal so that its less than 100%

hope this works
Rick Todd
Rick Todd
Old Hand
Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)Old Hand (302 reputation)

Group: General Forum Members
Points: 302 Visits: 441
Hari, a possibly completely different solution, depending on how you're consuming the data. We use Pivot Tables for a lot of our analysis, and you can just right click on the measure in the pivot table, choose Field Settings, and use % of Column. Voila, you have % of the diagnosis.
If that doesn't work for you, create a new calculated member like this:
([Diagnosis].CurrentMember, [Measures].[Claims Count])/([Diagnosis].CurrentMember.Parent, [Measures].[Claims Count])

Then switch the format to "Percent" just as omlac suggested.

Hope that helps,


Rick Todd
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search