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


Numeric Dimension Attribute in SSAS 2008 R2


Numeric Dimension Attribute in SSAS 2008 R2

Author
Message
maretix
maretix
Old Hand
Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)

Group: General Forum Members
Points: 325 Visits: 234
Good evening to all.

I use SSAS 2008 R2 and i did some cubes.
I built a dimension PRODUCT that contains 2 numeric attributes...PRICE WITH TAXES and PRICE WITHOUT TAXES
Both attributes are numeric (deci format in DW Database)

When i use Excel to query and navigate through the my cube, numeric attributes are displayed like string formats...
I have to format my PRICE WITH TAXES and PRICE WTIHOUT TAXES inside Excel.

What is the best practice to do to display that data RIGHT ALIGNED as numeric values with no manually operations ????

Before to build my dimension ..Do i have to do something in Data Source View of Cube Solution ???? and what ???
Or what else is it the best to do ????
aNY SUGGEST ??? Any useful link to read ??? Any examples ???

For me no problem to use Excel but final users are very exigent...grrrr.....:-)

Many thanks to all people read my post.

Ciao Maretix.
Scott Murray-240410
Scott Murray-240410
SSC-Addicted
SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)

Group: General Forum Members
Points: 421 Visits: 3121
You should be able to set the format of each measure to a numberic format ("###.##" for instance). Take a look at : http://technet.microsoft.com/en-us/library/ms175623.aspx

or

http://sharepointmike.wordpress.com/2012/06/02/949/
fernando.stackoverflow
fernando.stackoverflow
Forum Newbie
Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: General Forum Members
Points: 5 Visits: 7
I believe the question concerns formatting a non-measures dimension. I would like to know how to do this as well.
Scott Murray-240410
Scott Murray-240410
SSC-Addicted
SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)

Group: General Forum Members
Points: 421 Visits: 3121
Within the dimension, click on the attribute in question. What is the data type showing up in the NameColumn Source?
maretix
maretix
Old Hand
Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)

Group: General Forum Members
Points: 325 Visits: 234
Hi guys.
Thanks for your kind reply.

Yes i'd like to know how to format a numeric attribute dimension and not format a numeric measure.

Sorry for my english...i created a misunderstanding,,,

I'd like to be able to display a numeric attribute of a dimension when i use Excel.

The field is a decimal type in SQLSERVER DW Table....
When i use that field as attribute of a dimension, i was not able to display as a numeric directly in Excel..

Regards in advance...
Scott Murray-240410
Scott Murray-240410
SSC-Addicted
SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)

Group: General Forum Members
Points: 421 Visits: 3121
What about the data type in the dimension itself?
maretix
maretix
Old Hand
Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)

Group: General Forum Members
Points: 325 Visits: 234
Hi .

Do your efer to use properties attribute inside Dimension Designer ???
i did.

I tried to set format attribute as numeric...but nothing happen .when i query that attribute in Excel it is displayed as string left aligned.

Thanks.

Did you ever do that ???
Have you got an example ???
Scott Murray-240410
Scott Murray-240410
SSC-Addicted
SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)SSC-Addicted (421 reputation)

Group: General Forum Members
Points: 421 Visits: 3121
Not the format, but

Within the dimension, click on the attribute in questionm, then properties. What is the data type showing up in the NameColumn Source?
maretix
maretix
Old Hand
Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)Old Hand (325 reputation)

Group: General Forum Members
Points: 325 Visits: 234
Okay i understand now
It is displayed WCHAR
Suresh.Utham
Suresh.Utham
SSC-Addicted
SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)SSC-Addicted (400 reputation)

Group: General Forum Members
Points: 400 Visits: 216
I'm also facing same issue while applying format under NameColumn . It's not allowing to change from WCHAR to Double... Also, if I use #,##0.00 in format string, nothing happens while browsing cube in excel / SSMS.

Suresh
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