我试图通过公式得到这些数字的小计,但是子总数是错误的,请检查此图像 检查图像
我在这里使用这个公式locamount是feild name而@test是参数..
'oauth2' => [
'class' => 'filsh\yii2\oauth2server\Module',
'tokenParamName' => 'token',
'tokenAccessLifetime' => '100800', // Expiry Time
'storageMap' => [
'user_credentials' => 'common\models\User', // This Should be your model name
],
'grantTypes' => [
'client_credentials' => [
'class' => 'OAuth2\GrantType\ClientCredentials',
'allow_public_clients' => false,
],
'user_credentials' => [
'class' => 'OAuth2\GrantType\UserCredentials',
],
'refresh_token' => [
'class' => 'OAuth2\GrantType\RefreshToken',
'always_issue_new_refresh_token' => true,
'refresh_token_lifetime' => '100800',
],
],
@test参数
if isnull ({@test})
then {dt1.locamount}
else
{@test}
上面的代码一直持续到50号来
我点击插入字段并选择公式字段然后我写公式并将其保存为SUB_TOTAL然后拖动此字段即报告上的小计
如何解决这个问题