March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I need help with a formula field that looks at two existing fields and returns hard coded dates into two new fields. The first existing field is called 'dimstartdate'[monthname] and the second existing field is called 'dimstartdate'[yearnumber]. The first new field name will be called 'Media Due' and the second new field name will be called 'Client / Carrier Final Proof Approval'.
I know the logic list seems long, but it simply just varies based on the month of the year (for 2023).
Logic For Formula Field:
- If the 'dimstartdate'[monthname] field is '1' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '11/9/2023' and the 'Client / Carrier Final Proof Approval' field with '12/8/2023'.
- If the 'dimstartdate'[monthname] field is '2' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '12/9/2023' and the 'Client / Carrier Final Proof Approval' field with '1/6/2023'.
- If the 'dimstartdate'[monthname] field is '3' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '1/7/2023' and the 'Client / Carrier Final Proof Approval' field with '2/3/2023'.
- If the 'dimstartdate'[monthname] field is '4' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '2/14/2023' and the 'Client / Carrier Final Proof Approval' field with '3/11/2023'.
- If the 'dimstartdate'[monthname] field is '5' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '3/15/2023' and the 'Client / Carrier Final Proof Approval' field with '4/8/2023'.
- If the 'dimstartdate'[monthname] field is '6' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '4/18/2023' and the 'Client / Carrier Final Proof Approval' field with '5/12/2023'.
- If the 'dimstartdate'[monthname] field is '7' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '5/13/2023' and the 'Client / Carrier Final Proof Approval' field with '6/9/2023'.
- If the 'dimstartdate'[monthname] field is '8' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '6/13/2023' and the 'Client / Carrier Final Proof Approval' field with '7/8/2023'.
- If the 'dimstartdate'[monthname] field is '9' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '7/18/2023' and the 'Client / Carrier Final Proof Approval' field with '8/11/2023'.
- If the 'dimstartdate'[monthname] field is '10' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '8/12/2023' and the 'Client / Carrier Final Proof Approval' field with '9/8/2023'.
- If the 'dimstartdate'[monthname] field is '11' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '9/2/2023' and the 'Client / Carrier Final Proof Approval' field with '9/29/2023'.
- If the 'dimstartdate'[monthname] field is '12' and the 'dimstartdate'[yearnumber] field is '2023' then populate the 'Media Due' field with '10/5/2023' and the 'Client / Carrier Final Proof Approval' field with '11/1/2023'.
Solved! Go to Solution.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
93 | |
86 | |
84 | |
77 | |
49 |
User | Count |
---|---|
160 | |
144 | |
103 | |
74 | |
57 |