Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello all,
I have a table of Course dates with columns Order Date, Sales Amount, etc. for purchasing other products before or after a course. I calculated a Date Difference between [Course Date] and [Order Date] in a separate column using DATEDIFF.
Now I want to attribute sales after the course to that course if the sale has happened not later than 90 days after the course, otherwise, I have different conditions.
I have this formula:
Solved! Go to Solution.
This is what I see.
the first condition says "give me all results that are zero, and at the same time are less than 90". This will return no result as there is no number that can be both.
the second, third conditions have cross over. Eg -45 satisfies both 2 and 3.
Of course! Thanks for pointing this to me, I need more sleep, haha.
This is what I see.
the first condition says "give me all results that are zero, and at the same time are less than 90". This will return no result as there is no number that can be both.
the second, third conditions have cross over. Eg -45 satisfies both 2 and 3.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
23 | |
10 | |
10 | |
9 | |
7 |