Forum Discussion
Calculated Column from another fact table without relationship
- 4 years ago
Hi DIACHROMA,
You may try this Measure.
Sales D+30? = CALCULATE ( COUNT ( Sales[OrderDate] ), //Count Order in the Range TREATAS ( VALUES ( 'Events Attendees'[Attendee] ), Sales[Customer] ), FILTER ( 'Calendar', 'Calendar'[Dates] >= MINX ( 'Events Attendees', 'Events Attendees'[EVENT DATE] ) && 'Calendar'[Dates] <= MINX ( 'Events Attendees', 'Events Attendees'[DAYS +30] ) ) )Then, the result will look like this.
Also, attached the pbix file as reference.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let me know. Thanks a lot!
Best Regards,
Community Support Team _ Caiyun
For fun only, a showcase of powerful Excel worksheet formula,
Hi CNENFRNL thank you very much for this proposal !
However, in my Sales table I don't have the "Relevant Event" column.
I have events on one side, sales on the other, but no way to link an event to the sales generated behind it. It is for this reason that we look at 30 days following an event to find out if over this period the participant has generated sales.