I want to create a report base on my data below. I have a column VLWP and SLWP. What is the formula used if IDNO 100 has no SLWP only VLWP. When i drag the fireld sumofleave_days it displays the data on both LeaveCode.

Here's my data from Table [Leave]:

IDNO LEAVECODE SUMOFLEAVE_DAYS

100 VLWP 4

101 SLWP 2