开发者

paging in mdx query

开发者 https://www.devze.com 2023-02-20 19:02 出处:网络
Hello i am giving row numbers to result using rank in m开发者_如何学运维dx expression,now how can i restrict no. of rows retrieved that is i want first 10 rows and then i want another 10 rows and so o

Hello i am giving row numbers to result using rank in m开发者_如何学运维dx expression,now how can i restrict no. of rows retrieved that is i want first 10 rows and then i want another 10 rows and so on.So how can i apply such kind of paging in mdx expression itself


What MDX engine are you using? Assuming Microsoft Analysis Services, this link will be helpful:

http://msdn.microsoft.com/en-us/library/ms144792.aspx

TOPCOUNT is the keyword to examine, along with EXCEPT. The idea is you'll generate the set of the top 20, using TOPCOUNT, then EXCEPT the set of the top 10 - That'll give you numbers 11-20.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号