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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
PowerBINoob24
Resolver I
Resolver I

Dynamic Text Box - Make Value Blank When Nothing Is Selected

Hi All,

I've got a dynamic text box that updates with whatever selection is made in a slicer.  My question is, is it possible to have the Dynamic Text Bo be blank until someone selects something in the slicer?  Right now if nothing is selected in the slicer the dynamic text box will default to the the first item in the slicer.

 

Thanks in advance!

8 REPLIES 8
lukiz84
Memorable Member
Memorable Member

Hi,

 

please post the measure.

 

br

 

There is no measure.  It just pulls values from a column.

Then how should this work? Use a measure instead.

I'm pulling in text, not numbers.  Not sure how one turns text into a measure.

you need to have a measure for this, like:

 

SELECTEDVALUE(<columnName>[, <alternateResult>])

 

It returns the value when the context for columnName has been filtered down to one distinct value only. Else, alternateResult.

 

https://learn.microsoft.com/en-us/dax/selectedvalue-function

 

Okay....so I would have the alternate result be be the blank, correct?

Yes. You don't have to define because the default is also blank.

Term Definition

columnNameThe name of an existing column, using standard DAX syntax. It cannot be an expression.
alternateResult(Optional) The value returned when the context for columnName has been filtered down to zero or more than one distinct value. When not provided, the default value is BLANK().

The questioner was not looking to create a measure but to use the dynamic text feature which is not usefull if you are using a slicer where all values can be selected, the dynamic text will return the first value.  Any better idea how to use this feature instead of creating a measure??

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.