melodypoh
8 years agoFrequent Visitor
Simple DAX calculation wrong
Hi, I just started using Power BI so I am slowly navigating as I go.
I am trying to recreate a report that I did in Excel but a simple calculation of (x-y)/x doesn't work in Power BI. A couple of them come out okay, mostly just NaNs. I know it works because it does in my Pivot table (pic 2). I tried both SUM and Average. Only average gave me a few correct answers.
Thank you in advance!
Hi melodypoh,
My former formula missed a parenthesis, sorry:
BAND= Divide( Sum(Data[Q List])-Sum(Data[Q Band]),Sum(Data[Q List}),blank()).
Try trhis Please
Ninter