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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.