The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello, in Report builder, I wanted to set up a filter on a Matrix visual with multiple values. For example, the orginal Matrix will return results below:
The desired result after applying visual level filter:
So far, I have tried:
This keeps adding """ around each value and gave an error. I also tried "Orange", "Green", "Blue" for Values, didn't work either.
Solved! Go to Solution.
Is it that you need to achieve, I apply Black, and my table returns
If I return a color, I will have the standard table
To do that, you have to achieve a few steps
If it is not working, do not hesitate to ask for more help 🙂
Hi @Cookistador , it's working for me! Thanks so much!
I noticed that the Expression is - Set expression for: Hidden, so need to keep this in mind when writing the formula.
Hi @Cookistador I posted a new quesion a little similar to this, if you have time to help take a look, thanks!
https://community.fabric.microsoft.com/t5/Desktop/In-Report-Builder-matrix-how-to-make-Row-Groups-st...
Hi @OceanExplorer ,
Additionally, you can try these approaches:
1. =CStr("Orange,Green,Blue").Split(",")
2."Orange" "Green" "Blue" - No comma, only space
3."Orange";"Green";"Blue" - Try giving semicolon
Refer - Using the IN operator to filter in reporting services
Hope this helps!
Normally this is the way
If I execute the report, it returns what I want:
But becareful, if you reopen the proprety window, it will remove your "", and you will have to readd them
Hi Cookistador, this method - "Orange", "Green", "Blue" for Values - actually works, I realized that I mistakenly used a wrong field name in the filter setting previously.
A follow up question, I noticed that the entire Matrix visual will disappear if the filter values are not included, for example, if I set Values to "Purple", "Black". How could I make the Matrix table still appears, just showing an empty table like this:
Thank you!
Is it that you need to achieve, I apply Black, and my table returns
If I return a color, I will have the standard table
To do that, you have to achieve a few steps
If it is not working, do not hesitate to ask for more help 🙂
Hi @Cookistador , it's working for me! Thanks so much!
I noticed that the Expression is - Set expression for: Hidden, so need to keep this in mind when writing the formula.