Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have two columns, A parent column which gives the name of each parent and a child column that represents the type of child each parent has. I would like to create a new column within the query editor that tells me if a parent has a toddler, an infant or both. For example the new column would show that John has “both”, Tom has “Toddler”, Mike has “infant” and Bob has “Both”
Parent | Child |
John | Toddler |
John | infant |
John | infant |
Tom | Toddler |
Tom | Toddler |
Tom | Toddler |
Mike | infant |
Mike | infant |
Mike | infant |
Bob | Toddler |
Bob | infant |
Bob | infant |
Solved! Go to Solution.
@dw700d This solution may help you! Please share your Kudos
Find attached pbix File
Proud to be a Super User!
@dw700d This solution may help you! Please share your Kudos
Find attached pbix File
Proud to be a Super User!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
56 | |
54 | |
54 | |
37 | |
29 |
User | Count |
---|---|
78 | |
64 | |
45 | |
40 | |
40 |