Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Calculate( sum( value) ,previousmonth( date ) ) will give me last month but how do I pick before that? Like 3 months ago for example
Solved! Go to Solution.
Hi @VinhTon ,
How about this:
CALCULATE ( SUM ( table[value] ), DATEADD(table[date], -3, MONTH) )
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Proud to be a Super User!
Hi @VinhTon ,
How about this:
CALCULATE ( SUM ( table[value] ), DATEADD(table[date], -3, MONTH) )
Let me know if this helps 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Proud to be a Super User!
worked like a charm, thanks!
Here's a quick way.... (probably not the best way, that would be to define your Start and End Dates in a search or serach for a YYYYMM match on a Month Table?)
Calculate( sum( value) ,previousmonth( DATEADD( date, -2, months) ) )
Proud to give back to the community!
Thank You!
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!