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! Request now

Reply
etnhar
New Member

Presentation of multiple choice fields in Power BI

In a deviation solution, user can categorize deviations by Type of error (Type feil) and this field is a multiple choice field.

 

We want it presented in Power BI as accumulated number on each value in the multiple field.

 

Any idea? 

 

 

 

 

Multiple choice.png

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

Hi, @etnhar 

According to your description and sample picture, it seems that the reason why the type “Emballasje” can appear both with Level1 and Level2 is that your original data has the value “Emballasje” after the “,” before the “Split column” operation:

v-robertq-msft_0-1622709352963.png

 

Therefore, I think there are two ways to solve this problem in the Power BI.

First is to simply use the “Replace values” operation to repalce the error value manually:

v-robertq-msft_1-1622709352966.png

v-robertq-msft_2-1622709352968.png

 

Another is to create a calculated column to replace the column [Type feil.2], which is more intelligent:

Column 2 =

IF([Type feil.2] in SELECTCOLUMNS(ALL('Table'),"1",[Type feil.1]),[Type feil.2],BLANK())

v-robertq-msft_3-1622709352970.png

 

And you can get what you want.

You can download my test pbix file below

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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-robertq-msft
Community Support
Community Support

Hi, @etnhar 

According to your description and sample picture, it seems that the reason why the type “Emballasje” can appear both with Level1 and Level2 is that your original data has the value “Emballasje” after the “,” before the “Split column” operation:

v-robertq-msft_0-1622709352963.png

 

Therefore, I think there are two ways to solve this problem in the Power BI.

First is to simply use the “Replace values” operation to repalce the error value manually:

v-robertq-msft_1-1622709352966.png

v-robertq-msft_2-1622709352968.png

 

Another is to create a calculated column to replace the column [Type feil.2], which is more intelligent:

Column 2 =

IF([Type feil.2] in SELECTCOLUMNS(ALL('Table'),"1",[Type feil.1]),[Type feil.2],BLANK())

v-robertq-msft_3-1622709352970.png

 

And you can get what you want.

You can download my test pbix file below

Thank you very much!

 

Best Regards,

Community Support Team _Robert Qin

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

etnhar
New Member

Hi again, That helps, thank you. but then i run into next question.

 

In one Deviation 'Emballasje' can be saved in first colomn off the split(Level 1), and in another deviation in secound colomn 'Level 2' of the split.

 

Best would be to get same option (Emballasje) always in same colomn, so user always can see summary of error types.

 

Any idea?

 

 

Multiple choice 2.png

amitchandak
Super User
Super User

@etnhar , Based on what I got. You can split the column into rows using delimiters 

https://www.tutorialgateway.org/how-to-split-columns-in-power-bi/

 

 

or refer my video: Split Column Power Query: https://youtu.be/FyO9Vmhcfag

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks, i will test and get back to you

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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