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
Hi
I need to calculate sales per product from Expected selling start date and 4 month ahead.
How do I do that?
I have tried this measure, but it gives me an error.
Solved! Go to Solution.
I have changed the measure to this:
@LotteLaugesen , Try this
CALCULATE(CALCULATE(SUM('Fact Sales'[Volume]),
USERELATIONSHIP(Dim_Calendar[Date],'New Products'[Expected Selling Start Date])),
DATESINPERIOD(Dim_Calendar[Date ],Min(Dim_Calendar[Date])+1,4,MONTH) )
I have changed the measure to this:
@LotteLaugesen , Try like
Volume 4 Month =
CALCULATE(SUM('Fact Sales'[Volume]),
USERELATIONSHIP(Dim_Calendar[Date],'New Products'[Expected Selling Start Date]),
DATESINPERIOD(Dim_Calendar[Date ],Min(Dim_Calendar[Date])+1,4,MONTH) )
Thank you for helping, but the measure shows a blank result.
@LotteLaugesen , not able to relate your comments with the with data, can you elaborate
For each product in New Products file I want sum of Volume from Fact Sales for 4 month after Expected selling start date. I only want to list the products in the New Products file, not any other product sold.
For Product100 it should sum volume from Fact Sales from 1st of January to end of 1st of April.
For Product200 it should sum volume from Fact Sales from 2nd of February to end 2nd of May
And so on.. Does this make it more clear?
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 |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 14 | |
| 8 | |
| 8 | |
| 8 |