Hi Issahar!!!!!
How are you????
I proved the code that you sent to me, but it did not work to me. I continued looking for and exists a Filter function that in theory would allow to make what I need, but this only works if it is in rows or columns, as that form to me does not serve to me, since I need to use it in the Where sentence. I proved this filter directly creating a calculated member and the Where clause, but in both cases it does not work. I enclose the three mentioned codes to you.
************************************************************
SELECT {(Filter({[Product].[All Products].[Drink].Children}, ([Measures].[Sales Count]) > 1000))} On Columns
FROM [Sales]
************************************************************
With Member [Measures].[Filtro1] As
'Filter({[Product].[All Products].[Drink].Children}, ([Measures].[Sales Count])> 1000)'
SELECT
{[Gender].[All Gender].Children} On Columns,
{CrossJoin(CrossJoin([Marital Status].[All Marital Status].Children,[Product].[All Products].Children),[Store].[All Stores].Children)}
On Rows
FROM
[Sales]
WHERE [Measures].[Filtro1]
************************************************************
SELECT
{[Gender].[All Gender].Children} On Columns,
{CrossJoin(CrossJoin([Marital Status].[All Marital Status].Children,[Product].[All Products].Children),[Store].[All Stores].Children)}
On Rows
FROM
[Sales]
WHERE ({Filter({[Product].[All Products].[Drink].Children}, ([Measures].[Sales Count]) > 1000)})
I need to know if you have some example of the use of filters, since as I explained previously only it to you I can use as it leaves from the consultation select (to show it in rows or columns).
Thanks to respond to my consultations.
Greetings.
Karin