Forum Discussion

PSan1979's avatar
PSan1979
Icon for Helper II rankHelper II
6 years ago
Solved

Issue with Joins

Hi Experts   I have 2 tables Att( personid,matdistance,catergory) & clus(personid, Grpid, type(buyer/seller)), there should be 1:M from att to clus, due to many duplicates in att, created a table(l...
  • PSan1979's avatar
    PSan1979
    6 years ago

    @v-lid-msft Thank you for the effort

    catering column depending on the condition.

    If matdistnce > 6 then Far else Near

    grpid -distinctcount(grpid)

    I need something like this.

    Capture.JPG

    but I'm currently getting 18 for both and close. it's a bad thing with the data model. I've used the same joints as I u used