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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
mrslyfox911
Advocate III
Advocate III

Adaptive Text field

Hello,

I have a table with a test description of parameter IDs. How can I make the description text field appear only when a specific ID is selected in the filter? If the id is not selected, the text field did not display anything.

Data Example:

IDTXTValue
101Orange1
102Apple1
103Coconut1
104Apricot1
105Straweberry1

Filter based on ID column.

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @mrslyfox911 ,

According to your description, here's my solution.

Create a measure:

Measure =
IF (
    COUNTROWS ( ALLSELECTED ( 'Table'[ID] ) ) = COUNTROWS ( ALL ( 'Table'[ID] ) ),
    BLANK (),
    MAX ( 'Table'[TXT] )
)

Get the correct result:

vkalyjmsft_0-1670314386804.png

vkalyjmsft_1-1670314403116.png

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ kalyj

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

4 REPLIES 4
v-yanjiang-msft
Community Support
Community Support

Hi @mrslyfox911 ,

According to your description, here's my solution.

Create a measure:

Measure =
IF (
    COUNTROWS ( ALLSELECTED ( 'Table'[ID] ) ) = COUNTROWS ( ALL ( 'Table'[ID] ) ),
    BLANK (),
    MAX ( 'Table'[TXT] )
)

Get the correct result:

vkalyjmsft_0-1670314386804.png

vkalyjmsft_1-1670314403116.png

I attach my sample below for your reference.

 

Best Regards,
Community Support Team _ kalyj

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

vicky_
Super User
Super User

By filter, do you mean a slicer? 
You can try something like:

IF(SELECTEDVALUE([ID]) = specificID, 
    // show your description,
    BLANK()
)

Hi @vicky_ 

slicer can be as well. 

formula not working for me 

Hey, sorry to hear that. Could you you describe the issue with the formula? 

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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