Forum Discussion
ravichandra0788
8 years agoFrequent Visitor
Regarding multiple values display in KPI
Hi , I have a dataset like below DEPTNO DNAME LOC 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO 40 OPERATIONS BOSTON Now in powerBI i am using 'c...
- 8 years ago
I wrote from memory, expression is missing
DepartmentNames = IF ( ISFILTERED ( dept[DNAME] ), "selected departments are " & CONCATENATEX ( VALUES ( dept[DNAME] ), dept[DNAME], ", " ), "No department selected" )
Stachu
8 years agoCommunity Champion
try this
DepartmentNames = IF(ISFILTERED(dept[DNAME]),"selected departments are " & CONCATENATEX(VALUES(dept[DNAME]),", "),"No department selected")
- ravichandra07888 years agoFrequent Visitor
Hi Stachu,
Thanks for the quick response,However suggested solution is not working.
Regards
Ravichandra JL
- Stachu8 years agoCommunity Champion
I wrote from memory, expression is missing
DepartmentNames = IF ( ISFILTERED ( dept[DNAME] ), "selected departments are " & CONCATENATEX ( VALUES ( dept[DNAME] ), dept[DNAME], ", " ), "No department selected" )- ravichandra07888 years agoFrequent VisitorThanks Stach :)
- ravichandra07888 years agoFrequent Visitor
Hi Stachu,
Thanks for the quick response ,However suggested solution is not working.
Here are screenshots.
Case 1: If no departments selected.
Case 2: if one department selected.
Case 3 : if multiple departments selected
Request you to help here.
Regards
Ravichandra JL