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 all,
I'm trying to create a calculated column from this measure:
Solved! Go to Solution.
@Anonymous \
You can use earlier to filter sum([DP dollar]) by month.
Build Up 3 Months =
CALCULATE(SUM('Demand Waterfall'[DP Dollar]), FILTER('Demand Waterfall', MONTH('Demand Waterfall'[Waterfall Date]) = EARLIER(MONTH('Demand Waterfall'[Year Month]))))
+ CALCULATE(SUM('Demand Waterfall'[DP Dollar]), FILTER('Demand Waterfall', MONTH('Demand Waterfall'[Waterfall Date]) = EARLIER(MONTH('Demand Waterfall'[Year Month]))+1))
+ CALCULATE(SUM('Demand Waterfall'[DP Dollar]), FILTER('Demand Waterfall', MONTH('Demand Waterfall'[Waterfall Date]) = EARLIER(MONTH('Demand Waterfall'[Year Month]))+2))
- 'Final Unconsumed Demand'[Total Final Unconsumed Dd Amt (USD)]
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@Anonymous \
You can use earlier to filter sum([DP dollar]) by month.
Build Up 3 Months =
CALCULATE(SUM('Demand Waterfall'[DP Dollar]), FILTER('Demand Waterfall', MONTH('Demand Waterfall'[Waterfall Date]) = EARLIER(MONTH('Demand Waterfall'[Year Month]))))
+ CALCULATE(SUM('Demand Waterfall'[DP Dollar]), FILTER('Demand Waterfall', MONTH('Demand Waterfall'[Waterfall Date]) = EARLIER(MONTH('Demand Waterfall'[Year Month]))+1))
+ CALCULATE(SUM('Demand Waterfall'[DP Dollar]), FILTER('Demand Waterfall', MONTH('Demand Waterfall'[Waterfall Date]) = EARLIER(MONTH('Demand Waterfall'[Year Month]))+2))
- 'Final Unconsumed Demand'[Total Final Unconsumed Dd Amt (USD)]
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Would you be able to provide, sample data, expected results, and a sample .pbix, would go a long way in helping the community get this question answered for you.
Thanks
Proud to be a Super User!
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 |
---|---|
110 | |
94 | |
81 | |
66 | |
58 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |