Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I am new to Power BI and really need your help with this:
I have data like this:
Column A | Column B | Column C |
A | not B | not C |
not A | B | C |
A | B | not C |
I would like to have a single filter (dropdown with options A, B and C) to be able to choose "B", and the report filters the B column to show all data related to B.
Basically, I need Power BI to understand, which value is selected by a user, and use it to filter the correct column. Or, Maybe there is a measure, allowing to save the selected value (a measure that is equal to the selected value, for example, if user selects "B" in the report, measure should be equal to "B" ), and then use it in other functions (for example, save the selected text into the measure and then find this text in the other column)?
Refer :https://www.sqlbi.com/articles/creating-a-slicer-that-filters-multiple-columns-in-power-bi/
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin
Unfortunately, this is not the case, cause I have observations with A in one column and B in the other, while in your example continent, country and region forms a unique combination (we can not have an observation with Asia as a continent and France as a country in the same time). Moreover, the slicer will have options "A, not_A, B, not_B", and I what I need is "A, B".
Maybe there is a measure that would be equal to the selected option in filter?
Hi @Natalia1234 ,
I am not clear about your requirement, If you choose "A" in slicer, what is your expected output? You could use your original table, filter value only to "A" and "B", then use this as slicer.
If possible could you please inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.
Please do mask sensitive data before uploading.
Thanks for your understanding and support.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.