Forum Discussion
%monthly change
Dear all,
I have a request for you, would you help me in creating a monthly percentage change?
For example I have 3 companies, each company have some total value for each month (period) and account. So first I made a new column as "End of the Month" - date type. The table you can see below
First, I created a measure for Total Amount
I would need the metric to work by showing me the monthly difference between within each company and then the % difference displayed using the KPI visual, which I assume is a fairly simple metric in the form of
Please advise me how to achieve this. I have tried different types of filters but nothing has shown me the results I would like.
Thank you very much in advance
tomba_96 what measure are you using for the previous month?
PREVIOUS_MONTH_VALUE = CALCULATE([TOTAL_AMOUNT], DATEADD ( 'Calendar'[Date], -1,MONTH))
5 Replies
- parry2k
Super User
As a best practice, add a date dimension in your model and use it for time intelligence calculations. Once the date dimension is added, mark it as a date table on table tools. Check the related videos on my YT channel
Add Date Dimension
Importance of Date Dimension
Time Intelligence Playlist - tomba_96New Member
Thank you for your reply.
I have created a list of dates using List.Dates function in M language, which I then converted as a table and added columns with start of month, end of month,....
But still, after selecting the filter and the period, the total value in the last month for that company is not displayed
What am I still doing wrong?
Thank you
- tomba_96New Member
Thank you, I've already figured out that I have to use DATEADD. Thank you again