Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Replicate SQL Function in a Cube


Replicate SQL Function in a Cube

Author
Message
DIAL
DIAL
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 102
Hello,

I hope somebody can help me, I made a 2012 SSAS Multidimensional Cube, but I need to do a function (Assembly) to make a math operation, that must recieve 5 parameters, four dates and 1 decimal value, and return a result, but I have not idea what to do it, i expect yours comments

thanks



PB_BI
PB_BI
Ten Centuries
Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)Ten Centuries (1.3K reputation)

Group: General Forum Members
Points: 1291 Visits: 2407
When you say assembly do you mean in the sense of say, a .net assembly? If so you can add these to your AS server instance. Have a look at this for help on that.

Or could the function that you have in SQL be achieved with an MDX calculation? Have a think about that last point as you are now dealing with a completely different way of storing data as opposed to SQL. Oftentimes people will get mixed up trying to replicate a SQL process in OLAP. Also think about applying this function in, say, a view prior to processing.

Good luck.




I'm on LinkedIn
DIAL
DIAL
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 102
I appreciate your response, it was very useful because we had completed something similar, only we needed to confirm with an expert like you.

Thanks again.



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