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.
I need to create a measure that will calculate Gross Sales for the month that is 2 months previous to whatever Month I'm currently filtered by.
I have a column for Gross Sales Product.
I have a column in my date table for 'Year-Month'
Ideally, I would need my 2021-01 Column to show $657,528.60.
Solved! Go to Solution.
Hello @therightblue ,
Please try below measure -
Previous = CALCULATE(SUM(Table1[GrossSalesProduct]),DATEADD('date'[Date],-2,MONTH))
If this solves the requirement, please mark it as a solution. Kudos are also appreciated!
Thanks
Thanks
Hello @therightblue ,
Please try below measure -
Previous = CALCULATE(SUM(Table1[GrossSalesProduct]),DATEADD('date'[Date],-2,MONTH))
If this solves the requirement, please mark it as a solution. Kudos are also appreciated!
Thanks
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 |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |