Forum Discussion

erlicp's avatar
erlicp
Frequent Visitor
3 years ago
Solved

Fuzzy Grouping

Hello,    I have a long list of account names that I have complied from several files into a data flow. I then applied the fuzzy group function to the entire list of accounts. Picture below for ref...
  • edhans's avatar
    3 years ago

    Data Groups are done in the model, not in Power Query or source data. 

    If you wanted to group them in at Dataflow, you'd need to create a conditional column that would add the right grouping as another column. 
    if [field] = "Boston's Children" then "Harvard Med"
    else if [field] = "something else" then "Harvard Public Health"

    and so on.

    I'd argue the conditional column is the better way from a modeling standpoint to approach it, but it is more tedious than data grouping drag and drop.