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.
Hello,
I want to make a Month to Date measure which would show me all months in a selected date range and their cummilative values till my set day. For example I pick a time span from 2019-04-01 till 2019-09-10. It should calculate all values from day 1 till day 10 (as my last day is 09-10) for each of the month in the given period. So I could compare same periods within the date range.
Has anyone got any idea how to make this?
Thank you in advance!
Solved! Go to Solution.
@Anonymous hey I have put together something quickly, take a look and extend/change it as per your need
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Try
MTD Sales Till Date = VAR _Cuur_start = day(CALCULATE(max('Date'[Date Filer]),ALLSELECTED('Date'[Date Filer]))) return calculate(sum(Sales[Sales Amount]),FILTER(Sales,day(Sales[Sales Date]) <= _Cuur_start ))
Here Date table has been marked power BI date table.
@Anonymous hey I have put together something quickly, take a look and extend/change it as per your need
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k This is great, it will come in useful for something I'm about to start working on. Thanks for posting. 😉
Proud to be a Super User!
Hi,
works like a charm! Thank you very much!
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 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |