Forum Discussion

siva54's avatar
siva54
Helper I
4 years ago
Solved

Creating a calculated column

Hi Team I'm new to power bi, need help to get the Result column. Here the requirement is, Multiple Porducts can associated with only single Category. For Example, {A=Fan,Pen}. Here Fan amd Pen is ...
  • amitchandak's avatar
    4 years ago

    siva54 , Try like

     


    new column =
    var _1= calculate(distinctCOUNT([CATEGORY]), filter(Table, [product] = earlier([product])))
    return
    if(_1 >1 , "No", "Yes")