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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
AlexisPREVOT
Resolver I
Resolver I

Multiple value conditional column

Good morning,

I want to be able to create a conditional column knowing that my main column can have multiple values ​​for the same ID.
Here is an example of what I want to do.

 

EntrepriseValue RESULTS -> EntrepriseValue
       
A1   A2
A3   B0
B1   C1 and 3
B2     
B3     
C2     

How can I do this please?

 

1 ACCEPTED SOLUTION
AlexisPREVOT
Resolver I
Resolver I

I have resolve my problem using CONTAINS function and a conditionnal column.
Thanks

View solution in original post

3 REPLIES 3
AlexisPREVOT
Resolver I
Resolver I

I have resolve my problem using CONTAINS function and a conditionnal column.
Thanks

rajendraongole1
Super User
Super User

Hi @AlexisPREVOT - can you please help on the result values.

A

B

C

is coming as a group but the values , how it is coming 2 , 0, 1 and 3

share with some sample data.

 

you can do group by in power query editor on the enterprise column. 

rajendraongole1_0-1718009005380.png

 

 

Conditional statement: 

rajendraongole1_1-1718009053148.png

 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Good morning @rajendraongole1 ,

You should see the results 0 1 2 3 as categories of invoiced items.

If I sell 1 and 2 then I can sell 3 to my customer.
Same, if I sell 1 and 3 then I can sell 2.

I just tried your solution but I don't see how I could make my groupings, it seems too complex to me

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.