Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
I am working on creating a matrix table that shows a series of measures for one specific vendor "vendor A" and another vendor that is selected by a slicer visual on the page.
I had the idea to write a true/false measure that would return true if vendor is vendor A or if is selected by the slicer. I have not been able to get this to work because the matrix table cannot be affected by the vendor slicer otherwise vendor A will not show up. If they aren't linked then the selectedvalue function returns true for all vendors
I am wondering if anyone has any assistance with this. Below is the measure i was trying to use:
Solved! Go to Solution.
@KHP Hi! try with these steps:
1. Create a disconnected table for slicer. This table should not have a direct relationship with your main vendor table.
SlicerVendors = VALUES(app_tblVendors[Vendor])
2. Create the selection measure:
VendorComp =
VAR SelectedVendor = SELECTEDVALUE(SlicerVendors[Vendor])
RETURN
IF (
"Vendor A" IN VALUES(app_tblVendors[Vendor]) ||
SelectedVendor IN VALUES(app_tblVendors[Vendor]),
TRUE,
FALSE
)
3. Add a slicer visual to your report using the SlicerVendors table.
4. Add the VendorComp measure to the filter pane of your matrix table and set it to filter where the measure is TRUE.
BBF
Thanks for the reply from @BeaBF , please allow me to provide another insight:
Hi @KHP ,
You should create a slicer table first, and then try formula like below:
VendorComp =
VAR SelectedVendor = SELECTEDVALUE(SlicerVendors[Vendor])
RETURN
IF (
"Vendor A" IN VALUES(app_tblVendors[Vendor]) ||
SelectedVendor IN VALUES(app_tblVendors[Vendor]),
TRUE,
FALSE
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply from @BeaBF , please allow me to provide another insight:
Hi @KHP ,
You should create a slicer table first, and then try formula like below:
VendorComp =
VAR SelectedVendor = SELECTEDVALUE(SlicerVendors[Vendor])
RETURN
IF (
"Vendor A" IN VALUES(app_tblVendors[Vendor]) ||
SelectedVendor IN VALUES(app_tblVendors[Vendor]),
TRUE,
FALSE
)
Best Regards,
Adamk Kong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@KHP Hi! try with these steps:
1. Create a disconnected table for slicer. This table should not have a direct relationship with your main vendor table.
SlicerVendors = VALUES(app_tblVendors[Vendor])
2. Create the selection measure:
VendorComp =
VAR SelectedVendor = SELECTEDVALUE(SlicerVendors[Vendor])
RETURN
IF (
"Vendor A" IN VALUES(app_tblVendors[Vendor]) ||
SelectedVendor IN VALUES(app_tblVendors[Vendor]),
TRUE,
FALSE
)
3. Add a slicer visual to your report using the SlicerVendors table.
4. Add the VendorComp measure to the filter pane of your matrix table and set it to filter where the measure is TRUE.
BBF
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
9 | |
8 | |
8 | |
7 |