SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 Analysis Server and Reporting Services (2012)
 TOPCOUNT function in mdx
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

varalakshmi
Yak Posting Veteran

India
96 Posts

Posted - 08/12/2013 :  04:29:24  Show Profile  Reply with Quote
Hi,

I'm using the TOPCOUNT function to get the top measure for one of my dimension table.

The dimension table has a default value 0. The dimension table has more records for the default value 0. How to eliminate this default value from my top records?

Thanks in Advance.


- Varalakshmi

varalakshmi
Yak Posting Veteran

India
96 Posts

Posted - 08/12/2013 :  05:22:16  Show Profile  Reply with Quote
This issue is fixed now.
I created a set with EXCEPT function to eliminate unwanted values and then passed on the set to the TOPCOUNT function.

- Varalakshmi
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000