Forum Discussion
How to substract Matrix1 from Matrix2 to get Matrix3 visuals
I want to achieve the third matrix (Matrix1 - Matrix2) in power bi. Is it possible?
Anonymous this is simply a time intelligence functionality. You need to add a date dimension in your model and then create a previous month measure and subtract it from the current month and that will do it. To add a date dimension, check my blog post here.
Check my latest blog post Improve UX: Show Year in Legend When Using Time Intelligence Measures | PeryTUS IT Solutions I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
6 Replies
- parry2kSuper User
Anonymous this is simply a time intelligence functionality. You need to add a date dimension in your model and then create a previous month measure and subtract it from the current month and that will do it. To add a date dimension, check my blog post here.
Check my latest blog post Improve UX: Show Year in Legend When Using Time Intelligence Measures | PeryTUS IT Solutions I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- AnonymousNot applicable
I created priorMonth as Calculate([Total Value], PreviousMonth(Date[Date]) but it is empty in matrix visual but in table visual, it appears with dates values. I don't know what I'm doing wrong.
- parry2kSuper User
Anonymous you do need to select a date or month to give context to the previous month, try selecting a date and then check the result.
Check my latest blog post Improve UX: Show Year in Legend When Using Time Intelligence Measures | PeryTUS IT Solutions I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
- parry2kSuper User
Anonymous are you selecting a date for the current month ??
- AnonymousNot applicable
No, I'm not selecting date
- AnonymousNot applicable
It works when adding date slicer.. Thanks