Page 1 of 1

Aggregating Rows based on Condition

Posted: Tue Jan 05, 2021 8:31 pm
by evflores001
Hello,

I have been trying to solve this for about a week and have not been able to come up with a solution.

My goal is to return the total number of loans per Category (i.e., Contruction Loan, Land Loan, Multi-Family, etc...).
So far I have been able to filter out the subcategories I am looking for and even placing the accurate number of loans within each category. The issue lies when I try to perform a {Count} or {CountIf} on either the Loans databand or the User Defined Fields (Udfs) databand.

The first report I am attaching shows a breakdown of all active loans with the Udfs (or categories) for which the loan returns true.

Re: Aggregating Rows based on Condition

Posted: Tue Jan 05, 2021 8:35 pm
by evflores001
This second report was rendered using group headers. This does place the right amount of loans under each category, however, when performing the count function, the value returned is not accurate.

Re: Aggregating Rows based on Condition

Posted: Tue Jan 05, 2021 8:40 pm
by evflores001
This latest version that I've been working on is closer to what I am aiming for. It follows a similar approach to the other databands within the report as I have to use the merge based on value and tag property. However, the count does not return an accurate sum of the loans that fall within each category.


Any help would be much appreciated, thank you.

Re: Aggregating Rows based on Condition

Posted: Wed Jan 06, 2021 1:46 pm
by Lech Kulikowski
Hello,

Please send us a test data for your report.

Thank you.

Re: Aggregating Rows based on Condition

Posted: Wed Jan 06, 2021 5:25 pm
by evflores001
Hope this helps,

Thank you

Re: Aggregating Rows based on Condition

Posted: Sat Jan 09, 2021 12:15 am
by evflores001
Did you receive my test data report?

Re: Aggregating Rows based on Condition

Posted: Fri Jan 15, 2021 9:04 am
by evflores001
Hello,

Did you require any additional information?

Thank you

Re: Aggregating Rows based on Condition

Posted: Mon Jan 18, 2021 10:52 am
by Lech Kulikowski
Hello,

The sent JSON is not data for your report.

Please send us test data that we can use in the report.

Thank you.

Re: Aggregating Rows based on Condition

Posted: Tue Jan 19, 2021 6:44 pm
by evflores001
Am I able to do this within Stimulsoft?
Otherwise, I will have to ask for the dataset from our developer/
Lech Kulikowski wrote: Mon Jan 18, 2021 10:52 am Hello,

The sent JSON is not data for your report.

Please send us test data that we can use in the report.

Thank you.

Re: Aggregating Rows based on Condition

Posted: Wed Jan 20, 2021 11:22 am
by Lech Kulikowski
Hello,

In the standalone designer, there is an option - "Embed all data to resources" in the dictionary action.

Thank you.