We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I am trying to measure how efficient our purchase order process is by getting the difference between the "Date issued to vendor" and "Requested issued date" by the engineer. I am getting the error:
"Too few arguments were passed to the DATEDIFF function. The minimum argument count for the function is 3."
Also, the date parameters are in Spanish instead of English for some reason. Please see below a snip of the table column.
Solved! Go to Solution.
Hello josy!
You need to define interval after defining the two dates. So it will know what value it should return.
For example, if you need the difference between the two dates in number of months, add MONTHS:
Day to issue =
DATEDIFF('table'[Date issued to vendor], 'table'[Requiested issued date].[Día], MONTH)
For more info, please see: https://learn.microsoft.com/en-us/dax/datediff-function-dax
If this fixed your issue, please give a thumbs up and mark this response as the solution.
Have a nice day!
Thank you so much. I used the below formula and it worked.
Hello josy!
You need to define interval after defining the two dates. So it will know what value it should return.
For example, if you need the difference between the two dates in number of months, add MONTHS:
Day to issue =
DATEDIFF('table'[Date issued to vendor], 'table'[Requiested issued date].[Día], MONTH)
For more info, please see: https://learn.microsoft.com/en-us/dax/datediff-function-dax
If this fixed your issue, please give a thumbs up and mark this response as the solution.
Have a nice day!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 54 | |
| 37 | |
| 32 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 34 | |
| 22 |