Forum Discussion
josevaras
5 years agoMicrosoft Employee
Show Filtered Value
Hello everyone, I use the below statement to return a filtered value. I do it to highlight the value as a header for the visualization. My question is, how do I change the statement below So that...
- 5 years ago
Hi josevaras ,
Create a measure as below:
Measure = var _count=CALCULATE(DISTINCTCOUNT('Table'[Column1]),ALLSELECTED('Table'[Column1])) Return IF(NOT(ISFILTERED('Table'[Column1])),BLANK(), IF(_count=1,MAX('Table'[Column1]), CONCATENATEX(VALUES('Table'[Column1]),'Table'[Column1]," and ")))And you will see:
For the related .pbix file,pls see attached.
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
josevaras
5 years agoMicrosoft Employee
I would like to see all selected values that have been filtered.
If i filter for Device 1 and Device 2, I would like to see Device 1 and Device 2.
I hope that makes sense. Thanks
v-kelly-msft
5 years agoCommunity Support
Hi josevaras ,
Create a measure as below:
Measure =
var _count=CALCULATE(DISTINCTCOUNT('Table'[Column1]),ALLSELECTED('Table'[Column1]))
Return
IF(NOT(ISFILTERED('Table'[Column1])),BLANK(),
IF(_count=1,MAX('Table'[Column1]),
CONCATENATEX(VALUES('Table'[Column1]),'Table'[Column1]," and ")))
And you will see:
For the related .pbix file,pls see attached.
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
- josevaras5 years agoMicrosoft Employee
Thank you very much