Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone !
I am having a problem calculating my shipping frequency.
I have a database that starts from 2018 to today and I would like to know how many days a shipment takes place.
Example for 2021 I calculated it like this:
Shipment frequency 2021 = iferror(CALCULATE(365/DISTINCTCOUNT(Database[Descrip.of Shipment]), FILTER(Database, Database[CurrShipmentStart].[Année]=2021)),BLANK())
And for 2022 =
Solved! Go to Solution.
@Anonymous , Try a measure like
divide(datediff(min(Database[CurrShipmentStart]), max(Database[CurrShipmentStart]), day), DISTINCTCOUNT(Database[Descrip.of Shipment]))
Hello,
Thank you for your answer.
It works 🙂
@Anonymous , Try a measure like
divide(datediff(min(Database[CurrShipmentStart]), max(Database[CurrShipmentStart]), day), DISTINCTCOUNT(Database[Descrip.of Shipment]))
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 50 | |
| 44 |