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 am new to Power BI, and I want to create a measure that returns a value corresponding to the previous month. I don't want to use a slicer. I think I want to use the CALCULATE function, but I don't know how to set it up.
Here is an Excel table with dummy data. It is now December and I want the values from November. In this example, I want measures to return Previous_Month_Actual = 52 and Previous_Month_Target = 55
Thanks for your help
Month | Actual | Target |
01/31/17 | 5 | 5 |
02/28/17 | 12 | 10 |
03/31/17 | 18 | 15 |
04/30/17 | 21 | 20 |
05/31/17 | 25 | 25 |
06/30/17 | 27 | 30 |
07/31/17 | 30 | 35 |
08/31/17 | 39 | 40 |
09/30/17 | 44 | 45 |
10/31/17 | 53 | 50 |
11/30/17 | 52 | 55 |
12/31/17 | 60 | |
01/31/18 | 65 | |
02/28/18 | 70 | |
03/31/18 | 75 | |
04/30/18 | 80 | |
05/31/18 | 85 | |
06/30/18 | 90 |
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |