反馈已提交
网络繁忙
Sometimes users need to get the data of the last day of each month. For example, it is necessary to calculate the last day of each "PurchaseDate", as shown in the following figure:
Use the DATE function in combination with YEAR, MONTH and other functions.
The example uses the "FRDemo_EquipmentDetail" under "FRDemo".
Create a new self-service dataset, click "selected field>FRDemo_EquipmentDetail", select some fields in the table, as shown in the following figure:
Click "+" to add a New column, as shown in the figure below:
Name the new column "Take the last day of the month under the current date" and enter the formula DATE (YEAR (PurchaseDate), MONTH (PurchaseDate) +1, 1-1). Click "OK", as shown in the figure below:
Note: The functions and fields in the formula box need to be selected by clicking the selection area on the left, and cannot be entered manually.
Formula description:
You can continue the calculation or save the self-service dataset.
See section 1.1 of this article for details.
If you need to calculate the last day of the month of "current time", you can combine TODAY and DAYSOFMONTH functions. Input formula DATE(YEAR(TODAY()),MONTH(TODAY()),DAYSOFMONTH(TODAY())). As shown below:
售前咨询电话
400-811-8890转1
在线技术支持
在线QQ:800049425
热线电话:400-811-8890转2
总裁办24H投诉
热线电话:173-1278-1526
文 档反 馈
鼠标选中内容,快速反馈问题
鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。
不再提示
10s后关闭