Last active
December 11, 2017 15:15
-
-
Save malinxiao/15103941da0bc705b80025f8f68c308f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Product Category Title = | |
IF (COUNT('SalesLT ProductCategory'[Product Category])=1, | |
VALUES('SalesLT ProductCategory'[Product Category]), | |
IF (COUNT('SalesLT ProductCategory'[Product Category])= | |
CALCULATE(COUNT('SalesLT ProductCategory'[Product Category]), | |
All('SalesLT ProductCategory'[Product Category])), | |
"All Categories Selected", | |
MIN('SalesLT ProductCategory'[Product Category]) & " and the other " | |
& COUNT('SalesLT ProductCategory'[Product Category])-1 & " categories" | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment