Report Summary's Value op_Div(Decimal Object) Error
-
- Posts: 28
- Joined: Thu Aug 01, 2019 1:22 pm
Report Summary's Value op_Div(Decimal Object) Error
Hello,
I use GroupHeaderBand in the report. I want to get the quantity rate and I show this value in DataBand.
It possible using {colSumRunnig(DATA.quantity)} with GroupHeaderBand and it is not working true value by {Sum(DATA.Quantity)}.
After, I get an error message "There is no matching overloaded method for 'op_Div(Decimal.Object)' when I wrote this formula {IIF(DATA.quantity==0,0,DATA.quantity/colSumRunning(DATA.quantity))}.
In Summary, I want to get quantity rate values for all report quantity values and I can use GroupHeaderBand and I should be able to show rate value in DataBand. How use a formula for quantity rate?
Thank you,
I use GroupHeaderBand in the report. I want to get the quantity rate and I show this value in DataBand.
It possible using {colSumRunnig(DATA.quantity)} with GroupHeaderBand and it is not working true value by {Sum(DATA.Quantity)}.
After, I get an error message "There is no matching overloaded method for 'op_Div(Decimal.Object)' when I wrote this formula {IIF(DATA.quantity==0,0,DATA.quantity/colSumRunning(DATA.quantity))}.
In Summary, I want to get quantity rate values for all report quantity values and I can use GroupHeaderBand and I should be able to show rate value in DataBand. How use a formula for quantity rate?
Thank you,
-
- Posts: 6344
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report Summary's Value op_Div(Decimal Object) Error
Hello,
Please check the following expression:
{(DATA.quantity==0 ? 0 : DATA.quantity/(decimal)colSumRunning(DATA.quantity))}
Thank you.
Please check the following expression:
{(DATA.quantity==0 ? 0 : DATA.quantity/(decimal)colSumRunning(DATA.quantity))}
Thank you.
-
- Posts: 28
- Joined: Thu Aug 01, 2019 1:22 pm
Re: Report Summary's Value op_Div(Decimal Object) Error
Hello,
Thank you for your response, it worked on designer. As I understand colsum function not supported in .net because it didn't work in .net app.
Thank you.
Thank you for your response, it worked on designer. As I understand colsum function not supported in .net because it didn't work in .net app.
Thank you.
-
- Posts: 6344
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report Summary's Value op_Div(Decimal Object) Error
Hello,
Could you explain your issue in more detail?
Thank you.
Could you explain your issue in more detail?
Thank you.
-
- Posts: 28
- Joined: Thu Aug 01, 2019 1:22 pm
Re: Report Summary's Value op_Div(Decimal Object) Error
Hello,
Colsum function ran in the report with using this {(DATA.quantity==0 ? 0 : DATA.quantity/(decimal)colSumRunning(DATA.quantity))} but this function's use didn't print value in the report when preview .net app.
Thank you.
Colsum function ran in the report with using this {(DATA.quantity==0 ? 0 : DATA.quantity/(decimal)colSumRunning(DATA.quantity))} but this function's use didn't print value in the report when preview .net app.
Thank you.
-
- Posts: 6344
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report Summary's Value op_Div(Decimal Object) Error
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
-
- Posts: 28
- Joined: Thu Aug 01, 2019 1:22 pm
Re: Report Summary's Value op_Div(Decimal Object) Error
Hello,
I don't send a report but I got the same situation in demo.stimulsoft.com with attachment file
Thank you
I don't send a report but I got the same situation in demo.stimulsoft.com with attachment file
Thank you
-
- Posts: 6344
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report Summary's Value op_Div(Decimal Object) Error
Hello,
Unfortunately, cSum is not implemented in the Interpretation mode. Sorry.
Thank you.
Unfortunately, cSum is not implemented in the Interpretation mode. Sorry.
Thank you.
-
- Posts: 28
- Joined: Thu Aug 01, 2019 1:22 pm
Re: Report Summary's Value op_Div(Decimal Object) Error
Hello,
Thank you for your response.
Thank you for your response.
-
- Posts: 6344
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report Summary's Value op_Div(Decimal Object) Error
Hello,
You are welcome.
You are welcome.