Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello Community,
I would like to accomplish the same solution achieved in this article, but to modify the latest date constraint to apply for *each month*.
Below is what I would like to achieve - End of Month Value is the desired column.
Thanks in advance for your input!
Solved! Go to Solution.
Thank you so much!
I actually figured out how to do it using ALLEXCEPT as follows:
1. Created column YearMonth =
Apologies! My sample table was wrong - here is the correct table showing desired results:
Hi:
Please have Date Table connected to this your Fact Table. Mark as Date Table. Form relationship with your Fact Table (Date to Stock Date).
First Measure:
Stock Value = SUM(Table[Stock Value])
or
Last Value = CALCULATE([Stock Value]), LASTNONBLANK(Dates[Date], [Stock Value]))
If you want calculated column:
I hope this helps!
Thank you so much!
I actually figured out how to do it using ALLEXCEPT as follows:
1. Created column YearMonth =
Awesome. The measures look good. Please mark as solution or kudos if you can. Thanks!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 10 | |
| 7 | |
| 6 |