Hi everyone!
Hoping maybe someone here can help me with a little problem I am having with the divide function.
I am working in excel 2013 with a tabular model in powerpivot. Here I have columns for total sales and total results. I am trying to get profit in %, and I have been using Profit%:=DIVIDE([TotalSales];[TotalResults])
When used to create a calculated column I get the right percentage for the drilled down results, but as soon as I am higher up in the hierarchy it starts adding the percentages together and the results become wrong. If I use the function as a explicit measure instead it should turn out okay, but seeing as my numbers have both 0-values and negative values something goes wrong. (The same function works just fine as an explicit measure as long as I only have positive, above 0-values.)
[FONT=arial, sans-serif]Any ideas? [/FONT]
Hoping maybe someone here can help me with a little problem I am having with the divide function.
I am working in excel 2013 with a tabular model in powerpivot. Here I have columns for total sales and total results. I am trying to get profit in %, and I have been using Profit%:=DIVIDE([TotalSales];[TotalResults])
When used to create a calculated column I get the right percentage for the drilled down results, but as soon as I am higher up in the hierarchy it starts adding the percentages together and the results become wrong. If I use the function as a explicit measure instead it should turn out okay, but seeing as my numbers have both 0-values and negative values something goes wrong. (The same function works just fine as an explicit measure as long as I only have positive, above 0-values.)
[FONT=arial, sans-serif]Any ideas? [/FONT]