Forum Discussion
Ynew
Helper I
8 years agoA slicer for a pivot table
Hello All, I need help with coming up with a solution for my problem as below. To make my question easy to understand I define a simple version of my real data. I have three columns as below: Cu...
- 8 years ago
Hi Ynew
It seems your version of Excel does not support DAX variables
Please try this instead
= IF ( CALCULATE ( DISTINCTCOUNT ( TableName[Products] ), ALLEXCEPT ( TableName, TableName[Customer name] ) ) > 1, "Multiple Type", "Single Type" ) - 8 years ago
Zubair_Muhammad
Community Champion
8 years agoHi Ynew
It seems your version of Excel does not support DAX variables
Please try this instead
=
IF (
CALCULATE (
DISTINCTCOUNT ( TableName[Products] ),
ALLEXCEPT ( TableName, TableName[Customer name] )
)
> 1,
"Multiple Type",
"Single Type"
)Ynew
Helper I
8 years ago
Thank you very very much for your help. It is working now. And sorry, I did not know that there is a link between Excel and Power BI. Good to know that too, I will dig into that to learn how I can use.
Many thanks again.