Join 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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi, I want to hide visual base on my slicer which made from Field Parameter.
If I select completeness Status then I want to hide or show some visual.
My slicer is made from field parameter
My problem is, I try many way but got errors like "Parameter is part of composite key"
Solved! Go to Solution.
Create a DAX Measure for Visibility: You need to create a DAX measure that determines whether a visual should be shown or hidden based on the slicer selection. For example:
ShowVisual =
IF(
SELECTEDVALUE('Parameter Table'[Parameter Fields]) = "Completeness Status",
1,
0
)
This measure returns 1 if "Completeness Status" is selected, otherwise 0.
Use the measure to conditionally format the visual's transparency or visibility. You can do this by:
Selecting the visual you want to hide/show.
Going to the "Format" pane.
Finding the property that controls visibility (like "Transparency" or "Visibility").
Applying a rule based on the ShowVisual measure. For example, set transparency to 100% when ShowVisual is 0 and to 0% when ShowVisual is 1.
Alternatively, you can use bookmarks and the selection pane to control the visibility of visuals. Create bookmarks for different states (e.g., one with the visual shown and one with it hidden) and use the slicer to trigger these bookmarks.
Proud to be a Super User! |
|
Hi @Mokegubshook ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Chaithra.
Hi @Mokegubshook ,
We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Chaithra.
Hi @Mokegubshook ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Chaithra.
Create a DAX Measure for Visibility: You need to create a DAX measure that determines whether a visual should be shown or hidden based on the slicer selection. For example:
ShowVisual =
IF(
SELECTEDVALUE('Parameter Table'[Parameter Fields]) = "Completeness Status",
1,
0
)
This measure returns 1 if "Completeness Status" is selected, otherwise 0.
Use the measure to conditionally format the visual's transparency or visibility. You can do this by:
Selecting the visual you want to hide/show.
Going to the "Format" pane.
Finding the property that controls visibility (like "Transparency" or "Visibility").
Applying a rule based on the ShowVisual measure. For example, set transparency to 100% when ShowVisual is 0 and to 0% when ShowVisual is 1.
Alternatively, you can use bookmarks and the selection pane to control the visibility of visuals. Create bookmarks for different states (e.g., one with the visual shown and one with it hidden) and use the slicer to trigger these bookmarks.
Proud to be a Super User! |
|
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 |
---|---|
12 | |
12 | |
11 | |
10 | |
9 |