The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
5 |
User | Count |
---|---|
25 | |
13 | |
12 | |
8 | |
8 |