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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Show text visual

Hi everyone,

 

I have a page which shows the results of a survey with several questions. I want to have a filter, so that you can select a specific question. But these questions are quite long, so I made a new column, where these questions are abbreviated. For example:

 

On a from 1 till 10 scale: How likely is it that you would recommend us to a friend or colleague? became 'NPS'. 

 

I still want to show the original question. When someone filters on 1 question, the original question should be visualized. When someone filters on 2 or more question, it should return a blank, because it takes too much space. 

 

So, something like this:

 

show text visual.png

 

But when you select two or all three question, nothing should be returned. 

 

I hope someone could help me with this. 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

@Anonymous 

ok, sorry.

= IF(HASONEFILTER(Table[Question (short)]), MIN(Table[Question]), BLANK()) 

if it won't help, please show data model


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

6 REPLIES 6
az38
Community Champion
Community Champion

Hi @Anonymous 

try HASONEFILTER(), like

= IF(HASONEFILTER(Table[Question (short)]), Table[Question], BLANK()) 

 


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

Hi @az38 ,

 

Thanks for your reply and help. 

 

I tried your formula in a calculated column, but unfortunately it didn't work. 

 

text visual measure not working.png

 

I also tried 

test = IF(HASONEFILTER(Blad1[Question (abbreviated)]); FILTERS(Blad1[Question]); BLANK())

 

but without success.

az38
Community Champion
Community Champion

@Anonymous 

try a measure 

sorry, I didn't mention it


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

@az38 

 

No problem. I already tried measure. The measure gives an error, since you have to return a measure for the second part of the formula instead of a column:text measure not working.png

az38
Community Champion
Community Champion

@Anonymous 

ok, sorry.

= IF(HASONEFILTER(Table[Question (short)]), MIN(Table[Question]), BLANK()) 

if it won't help, please show data model


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

@az38 

 

Thank you, that worked!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors