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 created a measure to calculate the net revenue of last year-
revenue net_PY = CALCULATE([revenue net],DATEADD('date'[date_key],-1,YEAR))
This gives me the value according to the date slicer for example if the date range is 1 May 2018-22 May 2018, it gives the revenue for the time period 1 May 2017-22 May 2017.
What I want is that it gives me the numbers from 1 May 2017-31 May 2017.
Kindly guide.
Solved! Go to Solution.
@Vvelarde Thank you so much.
I used CALCULATE(SUM([revenue net]), PARALLELPERIOD(date, -12, MONTH)) for the same and was able to get the result.
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 | |
99 | |
76 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |