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 Everyone
I'm hoping to get some help on a DAX formula that is above my current skill level
The company I work for has a requirement that supplier delivers must be +/- 3 days form the "Promise Date" otherwise its considered "Received Late" ("Receipt date" is more then 3 days past "Promised Date") or " Received Early" ("Receipt Date" is more then 3 days before "Promised Date".)
or
If the "Receipt Date" is blank (not yet received) then its "Pending" or if the current date is greater then 3 days past "Promised Date" its "Late Not Yet Received"
I wanted to add a new Column called "Status" to show the evaluation result (Received Late, Received Early, Received On Time, Pending, Late Not Yet Received"). I figure I can use a slicer in my visual to filter for a specific "Supplier Name" or "Promise Date" range. below is a clip of my data table. Any help/guidance you could provide is greatly appreciated! ☺
Thanks
Rick
Solved! Go to Solution.
Hi:
You can try this calc column. I named table "Deliveries" so you can change bolded part to your tables name. You can also use switch statment but I went old school on this one.
Hi:
You can try this calc column. I named table "Deliveries" so you can change bolded part to your tables name. You can also use switch statment but I went old school on this one.
Thanks Whitewater100, worked great!!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |