I have three tables,
Supplier
SupplierID
SupplierRebate
SupplierID (Is a key to Supplier[SupplierID]
DateStart
DateEnd
TurnoverMin
RebateRate
ProductBought
SupplierID (Is a key to supplier[SupplierID]
TotalPrice
DateInvoice
ProductBought and SupplierRebate are both linked to Supplier. I am trying to make the sum of the total price, during each rebate. I want for each rebate, for a perticular supplier, to Sum total price when the DateInvoice is between DateStart and DateEnd.
It looked so simple, and I've spent hours trying to understand, but I just can't seem to get DAX into my brain. I've tried Sum, SUMX, Filters, Calculate and a few others. I just can't seem to understand Dax.
Thanks for the help