Forum Discussion
trying2learnpbi
2 years agoNew Member
How to calculate dynamic percentage difference from the same column
Hello all, I am trying to calculate dynamically the percent difference using Price values from the same column and using filter context from two different columns (Month and Type) I have bee...
- 2 years ago
DataNinja777
Super User
2 years agoMy observation is that for your Expense Calc measure, you do not need to input hard corded "April" month, and similarly for your Income Calc, you do not need the hard coded "April" month filtering.
Your [percent diff] measure is just the margin and I wouldn't call it as percent diff as it is not describing what it is.
- trying2learnpbi2 years agoNew Member
DataNinja777 thanks for the reply. I tried removing April but am getting error message (see screenshot below). Any help would be appreciated.
- DataNinja7772 years ago
Super User
Dax is like an excel formula. You can delete the blue crossed out part.
Best regards,