March 29, 2022 at 6:19 pm
I am calculating median across a very large set and it can take a long time to give me my results. Is there any type of processing method that I can choose which will calculate the calculated members when I am processing the cubes instead of at run-time? Any suggestions appreciated.
The calculation:
MEDIAN(Filter(SET_NAME,[Measures].[Median_NUM] > 0) ,[Measures].[Median_NUM])
March 29, 2022 at 7:46 pm
April 1, 2022 at 3:44 pm
With the understanding that I don't use Analysis Services, can you use T-SQL in SSAS? There are some very fast methods for calculating MEDIAN in T-SQL.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 1, 2022 at 3:47 pm
With the understanding that I don't use Analysis Services, can you use T-SQL in SSAS? There are some very fast methods for calculating MEDIAN in T-SQL.
You can query SSAS with DMX, MDX, XMLA or DAX but not SQL. DMX and MDX are bit like SQL but they are not SQL.
April 1, 2022 at 4:30 pm
Jeff Moden wrote:With the understanding that I don't use Analysis Services, can you use T-SQL in SSAS? There are some very fast methods for calculating MEDIAN in T-SQL.
You can query SSAS with DMX, MDX, XMLA or DAX but not SQL. DMX and MDX are bit like SQL but they are not SQL.
Thanks for the info, Jonathan. Can SSAS read from a table (I pretty sure it can but have to ask because I've never used SSAS)? If so, then a little separate pre-processing in T-SQL might do the trick.
As they say in Maine... "Ahyup... ya canna git der from here... ys gotta go ova der first, eh". 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply