Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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!
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |