March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Dear All,
When applying a filter I want the result to always show one value, as well as the selected option.
The fields are as below:
0
1
2
3
I want the filter to only show options 1, 2 & 3.
When a user selects 1, 2 or 3 I want all items connected with value 0 to also remain in the visualized results.
Is there a way I can obtain this result?
Thank you
gianmarco
Solved! Go to Solution.
Hi @gianmarco ,
Based on your description, I have created a simple sample:
Please try:
First add a new table for slicer:
For Slicer =
var _a = FILTER(SUMMARIZE('Table',[Column1]),[Column1]<>0)
var _b = CROSSJOIN({0},_a)
var _c = ADDCOLUMNS(_a,"Value",[Column1])
return UNION(_b,_c)
Output:
Then create a relationship between the two tables:
Create a slicer:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @gianmarco ,
Based on your description, I have created a simple sample:
Please try:
First add a new table for slicer:
For Slicer =
var _a = FILTER(SUMMARIZE('Table',[Column1]),[Column1]<>0)
var _b = CROSSJOIN({0},_a)
var _c = ADDCOLUMNS(_a,"Value",[Column1])
return UNION(_b,_c)
Output:
Then create a relationship between the two tables:
Create a slicer:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
89 | |
84 | |
70 | |
51 |
User | Count |
---|---|
206 | |
143 | |
97 | |
79 | |
68 |