Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
rodrigocezario
Regular Visitor

create group column automatically - costumer x id

hello, I have a sales base in which I have the product id column, and customers. One product id can be sold to several customers.
But these customers are from the same group, where I don't know who are part of the group.

it is possible to create an automatic table grouping customers according to when the first sale of a product id for this customer appears.

 

Example:

rodrigocezario_0-1679223464079.png


id product was sold to the customer foroni fil and foroni guarulhos, so these two customers are from the same group.

Is there any way to create create group column automatically?

 

another ex:

rodrigocezario_1-1679223558745.png

Could someone tell me if it is possible to create this column automatically grouping the customers according to the sales of a product?

thank you very much

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @rodrigocezario 

 

Can you provide sample data for testing? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures or Excel. I look forward to your response.

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.