Forum Discussion
Calculated column with negative values.
Hi folks,
I'm having some issues in getting the correct result for the Net Strategic Value in my PBI table.
It's the calculated column below. The result should be as shown in the excel sheet. In PBI I'm getting a high value, what can I do to have a low value for negative numbers?
Thank you!
3 Replies
- VahidDMSuper User
Hi Anonymous
Did you check the aggregation of this column in the visual?
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/- AnonymousNot applicable
- AnonymousNot applicable
Hi Anonymous ,
You might consider using measure:
Net Surplus Sale Strategic Value = var Max_value = MAXX(FILTER(ALL(Costs),'Costs'[UPRN]=MAX('Costs'[UPRN])),[Net Surplus Generated from Sale]) var Min_Value = MINX(FILTER(ALL(Costs),'Costs'[UPRN]=MAX('Costs'[UPRN])),[Net Surplus Generated from Sale]) return ((MAX( Costs[Net Surplus Generated from Sale])-Min_Value) / (Max_value- Min_Value))*100If the result is not what you expected, can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.