Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 63 | |
| 55 | |
| 42 | |
| 41 | |
| 23 |
| User | Count |
|---|---|
| 171 | |
| 136 | |
| 119 | |
| 79 | |
| 54 |