Forum Discussion

Kavya123's avatar
Kavya123
Helper III
5 years ago

Need Expression in DAX

Hi Everyone,

 

I need to write an expression in DAX. I need to display the set of possible values in Power BI. Please help me.

For example:

This is the Qlikview expression which I am using sum( {$<Customer = P({1<Product={‘Shoe’}>} Customer)>} Sales )

which means it returns the sales, but only those customers that ever have bought the product ‘Shoe’. The element function P( ) here returns a list of possible customers; those that are implied by the selection ‘Shoe’ in the field Product.

 

Thanks in advance

2 Replies