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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi experts,
I need to create a custom column using Power Query in Power BI like below.
Please help
Solved! Go to Solution.
I have created a custom column 'Type' for differentiate self and nominees. And grouped using below query and merged.
= Table.Group(#"Added Conditional Column", {"EMPLOYEE CODE"},
{{"AllRows", each
Table.AddIndexColumn( Table.Sort(_, {{"Type", 1}} ) ,
"rowindexinsubset" ,1,1 ), type table}})
I have created a custom column 'Type' for differentiate self and nominees. And grouped using below query and merged.
= Table.Group(#"Added Conditional Column", {"EMPLOYEE CODE"},
{{"AllRows", each
Table.AddIndexColumn( Table.Sort(_, {{"Type", 1}} ) ,
"rowindexinsubset" ,1,1 ), type table}})
Hello @Anonymous ,
Can you specify the conditions that will lead to your output so we could help you?
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |