web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Power Up Program Community
Answered

Power BI: Multiple-choice columns

(1) ShareShare
ReportReport
Posted on by 8,339 Super User 2025 Season 2
I'm having issues with multiple-choice columns showing numbers instead of display values.
e.g. ShelterTypes, Medical conditions, Medical treatments
Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,391 Super User 2025 Season 2 on at
    Hi @W.P
     
    Unfortunately, Power BI doesn't offer a simple way to display the descriptions for multi-select choice columns.
     
    Taking the example of ShelterTypes, what I suggest is this.
     
    First, retrieve the ID values that correspond to the descriptions from the table designer.
     
     
     
    In Power BI, you can then add a column and write the DAX to convert the numbers to descriptions like so:
     
    TypesOfAnimalsDesc = 
    VAR valuesList = SUBSTITUTE([Types of Animals], ",", "|")
    RETURN
    CONCATENATEX(
        GENERATESERIES(1, PATHLENGTH(valuesList)),
        SWITCH(
            PATHITEM(valuesList, [Value], TEXT),
            "650600000", "Bird",
            "650600001", "Cat",
            "650600002", "Dog",
            "650600003", "Horse",
            "650600004", "Livestock",
            "650600005", "Reptile",
            "Other"
        ),
        ", "
    )
     
    Here's how this looks in the designer:

     
    The result looks like this.
     
     
     
    If you don't want to hardcode the IDs and Descriptions in the formula, you would need to call the API to get the choice details. 
     
    This post from LauraGB describes how you would do this.
     
     
     
  • CU07011049-0 Profile Picture
    34 on at
    can you help with the code i will use for the sex column please. Thanks
  • timl Profile Picture
    36,391 Super User 2025 Season 2 on at
     
    With regards to the code for the sex column, I've posted the answer in the post below.
     
  • w.p Profile Picture
    8,339 Super User 2025 Season 2 on at
    I'd prefer not to hardcode.
    After getting the choice list, how do I map it to table columns?
  • w.p Profile Picture
    8,339 Super User 2025 Season 2 on at

    The post doesn't cover mapping multiple choices.

  • Verified answer
    w.p Profile Picture
    8,339 Super User 2025 Season 2 on at

    Found the answer using the API with a filter.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Microsoft Power Up Program Community

#1
timl Profile Picture

timl 512 Super User 2025 Season 2

#2
mmbr1606 Profile Picture

mmbr1606 62 Super User 2025 Season 2

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 60 Super User 2025 Season 2

Last 30 days Overall leaderboard