Forum Discussion

datadog_ab's avatar
datadog_ab
Frequent Visitor
2 years ago
Solved

New column or measure based on two conditions

Hi PBI Experts,    Looking for help with calculating a new column/measure which shows the sum of biggest sales amount per day for John and Matt   Table1 Name          Date           Sales John ...
  • datadog_ab's avatar
    2 years ago

    Topn didn't help. 
    I ended up creating a new column calculating the max of sales with allexcept name and date. Then created a measure which sum the new column divided by number of dates.