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.
Hello Everyone,
I have one specific requirement in my project.
I have two dates for different shipments:
1. First In Transit
2. Delivered of First Mile
So I have to create a measure in which I have to find if 'First In Transit' event is greater than or equal to 4 days from now (today's date) and 'Delivered of First Mile' is empty i.e, No delivery event. It should give me some result like 'Not Delivered Yet'. Please have a look at the screenshot for more info.
Hi @ashutosh,
Based on my test, you should be able to use the formula below to create a new measure and show it on the report in this scenario.
Measure = IF ( TODAY () - MAX ( Table1[First In Transit] ) <= 4 && ( ISBLANK ( MAX ( Table1[Delivered of First Mile] ) ) ), "Not Delivered Yet" )
Regards
@v-ljerr-msft Hi,
Thank you for your response. Could you please elaborate (for my understanding) why you selected MAX.
The condition here is, I need to show 'Not Delivered Yet' only to those ID's which have First in Transit Event more than 4 days from now and Delivered of first Mile is empty. And I have to consider only working days i.e. Mon to Fri.
####
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 |
---|---|
96 | |
92 | |
82 | |
70 | |
64 |
User | Count |
---|---|
115 | |
106 | |
96 | |
81 | |
72 |