Forum Discussion
jkunkoski
9 years agoNew Member
Power BI Desktop Filter Multi Value Field/Column
I have two data sources from two Excel files. Both files come from SharePoint Prem 2013. One field is from a Multi Select Field in a SharePoint list so the data in each row is messy, as follow: Row1/...
Eric_Zhang
9 years agoMicrosoft Employee
You can use a measure as below. See more detail in the attached pbix.
IsShown =
VAR ROWCNT =
COUNTROWS (
FILTER (
Table1,
SEARCH ( LASTNONBLANK ( Table2[Column1], "" ), Table1[Column1], 1, 0 ) > 0
)
)
RETURN
IF (
(
ISFILTERED ( Table2[Column1] ) && HASONEVALUE ( Table2[Column1] )
&& ROWCNT > 0
)
|| NOT ( ISFILTERED ( Table2[Column1] ) ),
1,
BLANK ()
)
Anonymous
8 years agoNot applicable
Hi Eric, thanks for your post. I tried to get the slicer working with two or more selections at same time but I could not. I wonder if its possible to filter for instance 5G and 7G at once. Best regards, Augusto