Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Issue with sum on row and total values

I am using an if statement to check values and it works on row level but on total it uses the total line which give wrong totals

 

xxx % = if([QTY PY]=0,blank(), (([Average price CY]*[Qty CY]) / ([Average price PY]*[Qty CY]))-1)
 
Correct on row level but wrong on totals - how can I use a row total ? In Qlikview its easy to change this but how to in Power BI?

2 Replies