Forum Discussion
Robert14358
Resolver III
3 years agoGroupby with IF statement
Hello All. I cant seem to get this to work: = Table.Group(#"Changed Type", {"Block_ID"}, { {"Children", each Text.Combine(each if [Block_type] = "Block" then [Block_Name_Child] else null, " ...
- 3 years ago
Robert14358, You can have it in 2 steps.
- Create a custom column with the if else condition
- Use the custom column in the group by
Share sample data and expected output for the right solution!
SivaMani
Resident Rockstar
3 years agoRobert14358, You can have it in 2 steps.
- Create a custom column with the if else condition
- Use the custom column in the group by
Share sample data and expected output for the right solution!
- Robert143583 years ago
Resolver III
hmm okay, i wanted 1 step though 😞