This occurs because the Top N filter happens before any of your other filters. I.e. it is filtering the top 10 domains by the sum of pageviews for your entire dataset, and then it applies the other filters. domain1.com is being filtered out by your other filters (perhaps the Useraccess = True one?)
To get around this you have two options.
1. Make your other filters happen before the Top N filter by making them Context Filters. Context filters always happen first, (they actually make a temp table in your data source and then Tableau queries this). To do this you have to right click the other filters and select 'Add to Context'. See more about context filters here: http://onlinehelp.tableausoftware.com/v7.0/pro/online/en-us/filtering_context.html
2. Perform a top N filter by an alternative means - a table calculation. Since table calculations happen after normal filters, you can rank your data using the INDEX formula in a custom calculated field and then filter on that so that the field <= 10. See more on using INDEX to filter top 10 values here: http://www.theinformationlab.co.uk/2012/10/01/using-index-to-filter-top-n-values-within-a-category-video/
Thank you very much for the tip with the context filters.
However, one of my data is a parameter... Is it possible to add a parameter to a context?
Otherwise using the index fonction does not work well because I am plotting a dual axis with two measures and the ranking seems to apply differently depending on the measure (I thought the ranking Index() function was something global and did not apply to one particular field). Therefore, the ranking varies a lot.
I apologize for jumping into the thread but I think this particualrly fits the topic
Thank you in advance for any pieces of advice!
You cannot add a parameter on its own as a filter, but you can add a calculated field that uses that parameter at a filter and make that context...
For example, I have a parameter called Region Parameter, and a field in my database called Region. I create a calculated field called Region Filter with the formula
[Region] = [Region Parameter]
This gives me a true or false field which I can now put onto the filter shelf and add to context.
Hope that helps,