Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
DerMainzer
Resolver I
Resolver I

Show/Hide Textfield and Parameters

Good Morning,

 

I have a rectangle that should be shown/hidden (also other parametes within it) based on one Paramter I choose at first.

 

Let's say I have a parameter that's called ART and the values are "Agenda" & "Protocol"

When the users chooses "Agenda" a rectangel show be hidden and the parameters in it should be inactive.

 

Anyone any idea?

 

thanks in advance

1 ACCEPTED SOLUTION
KVRKarthik
Frequent Visitor

Hi,
Follow the steps below to resolve this requirement.

1. Go to rectangle properties.

2. Go to "Visibility" window.

3. Check the option "Show or hide based on an expression."

4. Click on expression builder "fx" button.

5. In the window use IIF function to fulfill the requirement: = IIF(Parameters!ART.Value = "Protocol", False, True).

This hides the rectangle and once rectangle is hidden, data in it will be hidden too.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
KVRKarthik
Frequent Visitor

Hi,
Follow the steps below to resolve this requirement.

1. Go to rectangle properties.

2. Go to "Visibility" window.

3. Check the option "Show or hide based on an expression."

4. Click on expression builder "fx" button.

5. In the window use IIF function to fulfill the requirement: = IIF(Parameters!ART.Value = "Protocol", False, True).

This hides the rectangle and once rectangle is hidden, data in it will be hidden too.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hey,

 

It finally worked - Thanks a lot. At first it din't work at all but then i figured out, that I wrote the Parameters in german language and Protocol is written "Protokoll". 🙂

 

Have a great day!

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.