Forum Discussion
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 :
My question is how do I make use of the grouped account names? In power desktop there are data groups that I currently use to group these account names together. In the screenshot below you can see the harvard account name group highlighted in red>
My question is. Is there anyway to use fuzzy grouping to create these data groups inside my data flow or do I have to create the groups manually in the desktop version?
*please be gently am very new to data analytics and power bi.
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.
5 Replies
- edhansCommunity Champion
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.- erlicpFrequent Visitor
Yeah I'm not sure either one of these options is feasible the list of accounts contains roughly 500k rows. Maybe I am better off using the built in ML modules to try and group the accounts, I've done at least a few thousand manually already that I could use as a potential training model.
- edhansCommunity Champion
You could create a list to merge and create your values, and a Fuzzy Merge is available which means you don't have to generate one for every 500K possible options.