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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
AAAbbbnewbie
Frequent Visitor

dynamic value in textbox

Dear Experts, I would like to create the dynamic value textbox based on the section slicer. Currently in the section slicer, I have Group 1, Group 2, Group 3, All (Multiple selection). How the dynamic value which i created only show the single selection. 

 

Example: if i select Group 1 & 3, the value returns as Group 1 only. It should display as group 1 & 3.

 

In this case, what should i do? 

 

Thanks in advance 

1 REPLY 1
kpost
Super User
Super User

I'm NO EXPERT, LOL.

but here you go.

dynamic_text_field =
 
     IF(
     ISFILTERED('Group_Options'[Group]),
    CONCATENATEX(
        VALUES('Group_Options'[Group]),
        'Group_Options'[Group], "& "
    ),
    "All Groups:  1 & 2 & 3"
)



Something like this will at least be better than what you have.  if you ABSOLUTEY NEED it to say "Group 1 & 3" and not "Group 1 & Group 3", we can continue developing another solution but it will be a bit more complex.

//Mediocre Power BI Advice, but it's free//

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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