Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | 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
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

varalakshmi
Yak Posting Veteran

India
98 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
98 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  
 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.02 seconds. Powered By: Snitz Forums 2000