Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi
I need to calculate the number of Kilos sold after Expected selling start date for each product in New Products table.
Invoice Date is date of selling.
There is relations between:
Dim_Calendar/Date and Sales/Invoice Date
Dim_Calendar/Date and New Products/Expected selling start date
Dim_Items/Item number and Sales/Item Number
Dim_Items/Item number and New Products/Item number
The report should look like this:
Can anybody help?
Best regards
Lotte
Solved! Go to Solution.
Measure =
VAR startDate_ =
SELECTEDVALUE ( NewProducts[Expected selling start date] )
VAR endDate_ =
EDATE ( startDate_, 4 )
RETURN
CALCULATE (
SUM ( Sales[Kilos] ),
Sales[Invoice date] >= startDate_ && Sales[Invoice date] <= endDate_
)
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Measure =
VAR startDate_ =
SELECTEDVALUE ( NewProducts[Expected selling start date] )
VAR endDate_ =
EDATE ( startDate_, 4 )
RETURN
CALCULATE (
SUM ( Sales[Kilos] ),
Sales[Invoice date] >= startDate_ && Sales[Invoice date] <= endDate_
)
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Thank you so much - exactly what I needed 👏