Forum Discussion
VisalSeng
3 years agoFrequent Visitor
Create New Column from Main Product ID
Hi All Member, I want to create new column "ComboID" from main "ProductID" as below example below We have Papa Blazing Combo (Product ID: 101) and Sub Combo such as Chicken Wing (102) and Pizza ...
Ashish_Mathur
Super User
3 years agoHi,
Write this calculated column formula
=calculate(min(Data[Product ID]),filter(Data,Data[MasterItem]=earlier(Data[MasterItem])))
VisalSeng
3 years agoFrequent Visitor
Sorry for late reply. I try to do as your code but result is different. It is not correct yet.
Combo ID =
calculate(min('Sales Table'[Product ID]),filter('Sales Table','Sales Table'[MasterItem]=earlier('Sales Table'[MasterItem])))
- Ashish_Mathur3 years ago
Super User
What is wrong with that result. Explain clearly.