In my PBI dashboard, I have a table which looks like this:
Countries | Studies |
---|---|
Australia, Argentina, Belgium | Study1 |
Argentina, Belgium, Poland | Study2 |
Austria, Argentina | Study3 |
I was wondering if it was possible in any way to create a slicer to sit on the same page as this table, and when a certain country is selected it return the studies involved. i.e. using slicer I select 'Belgium' and it returns only Study1 and Study2 from the table.
I want this to able be available for multi-select, so using the slicer to select more than one country value.
I am no expert in PBI so please be as specific as possible in your answer.
Transform data
in the Home tab in the ribbon. This will open Power Query Editor.Countries
column header, and selectDuplicate Column
. In the formula bar, rename it fromCountries - Copy
toCountry
.Country
column header and selectSplit Column
>By Delimiter...
. In the window that pops up, ExpandAdvanced option
and select Split intoRows
.Country
column header, selectTransform
>Trim
.You should have a table looking like this:
Close and apply the Power Query window. Then back in main Power BI, you can use the new
Country
column for your Slicer.