chriscorcoran Posted October 9, 2018 Share Posted October 9, 2018 Hi I have a measure that I want to exclude a 'site' from so my graphs are correct, so far the where clause is ((h_fk_servicename ='IECC') OR (h_fk_servicename ='IECC Scalable')) is it possible to include and exclusion for site Newcastle? Thanks Chris Link to comment Share on other sites More sharing options...
Steven Boardman Posted October 10, 2018 Share Posted October 10, 2018 HI @chriscorcoran you could do something like this h_fk_servicename IN ('Desktop Support','Home Working') AND h_site != 'Leeds' Giving me a measure which i can then use for my widgets Grouped by Site, where Leeds has been excluded Grouped by Service Name, where it is only the two services i specified above Removing the != 'Leeds' clause and creating a chart shows the results including Leeds Hope that helps Link to comment Share on other sites More sharing options...
chriscorcoran Posted October 10, 2018 Author Share Posted October 10, 2018 thanks @Steven Boardman I had added too many brackets in my query as well. This works perfect. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now