Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Dax

Hi all I am try to calculate the percent of spend for each month.  My current formula takes the ppv for each month and divides it by the total spend. I need to be able to divide PPV value for each month by the Spend value for each month in DAX.   So for example, right now for the month of july its calulating 3.87/279.3 and retuns 1.38%. What I need it to calcualte 3.87/70.5 and return 5.48%.

 

This is my current formula:

DIVIDE(
SUM('FY20 PPV'[PPV]),
SUM('All POs by delv date'[Total Spend])
)
 

 

 

 

1 Reply

  • Anonymous , the formula looks correct. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.