Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have two date columns that look like this:
EstimatedCloseDate | ActualCloseDate |
4/19/2020 | 4/20/2020 |
null | 6/11/2020 |
7/18/2020 | null |
null | null |
I would like to create a third column either in the query or afterwards called ActionableCloseDate which prefers the ActualCloseDate but uses the EstimatedCloseDate if the ActualCloseDate is null. Ideally it would look like this afterwards:
EstimatedCloseDate | ActualCloseDate | ActionableCloseDate |
4/19/2020 | 4/20/2020 | 4/20/2020 |
null | 6/11/2020 | 6/11/2020 |
7/18/2020 | null | 7/18/2020 |
null | null | null |
I am a bit of a PowerBI noob so theres a good chance this is pretty simple but I have no idea where to start. Any help would be greatly appreciated.
Solved! Go to Solution.
@DorienM ,
Create COlumn like below:
Third COlumn = IF(Table[ActualCLoseDate]=BLANK(),Table[EstimatedClosedDate],Table[ActualClosedDate])
@DorienM ,
Create COlumn like below:
Third COlumn = IF(Table[ActualCLoseDate]=BLANK(),Table[EstimatedClosedDate],Table[ActualClosedDate])
Wow that is way simplier than I thought it would be. Thanks it is working great.
@DorienM ,
Gald that I helped you!
Good Luck!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |