Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi i have the following columns
In my matrix i wish to display cust_name,month wise values also MOM.
I want to create a column named MOM which will save the difference between the values which belonged to the current month minus the values which were enetered for the previous month.
Please help with the same.
@RashmitaR Not sure if i understood you correctly but are you after a measure that gives you sum of all values in current month - sum of all values in previous month ?
Hi @RashmitaR,
Firstly, in your scenario, you need to have a calendar table, then create relationship using date columns between your current table and the calendar table.
Secondly, create a measure using the following formula.
MOM = SUM(Table1[BLD_FTE])-CALCULATE(SUM(Table1[BLD_FTE]),PREVIOUSMONTH(Table1[date]))
Thirdly, you are able to display the monthly change value of BLD_FTE in visual as shown in the following screenshot. For more details, please review the example in this attached PBIX file.
Thanks,
Lydia Zhang
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |