Forum Discussion
cuongtrinh2197
2 years agoFrequent Visitor
Need urgent help please!!!
Hi, can someone show me the way to bring the field Customer part number to the visual table? My relationship looks fine but the error happened when I tried to bring the customer part number to th...
- 2 years ago
pls see if this is what you want
Measure =VAR _cpn=maxx(FILTER(fCustProduct,fCustProduct[Part number]=max(fSales[Part number])&& fCustProduct[Customer]=max(fSales[Customer])),fCustProduct[Customer Part Number])return if (_cpn="",max(fSales[Part number]),_cpn)
ryan_mayu
Super User
2 years agopls try this
Measure = maxx(FILTER(fCustProduct,fCustProduct[Part number]=max(fSales[Part number])),fCustProduct[Customer Part Number])
cuongtrinh2197
2 years agoFrequent Visitor
Sorry Ryan I just checked again, if you can see the measure return to the swrong result
For example, line 1, customer 1 sale order but the return value in the measure column is the part number of customer 2