how to group by one column, sort by another column
-
- Posts: 4
- Joined: Mon May 17, 2010 5:42 pm
how to group by one column, sort by another column
Hi all,
In the report, there is a datasource for a list of products. I have added a groupheader to group them by product ID, but I don't want to sort them by productID , instead I want to sort the products by product description. Anyone can help me with this?
Thanks
Ben
In the report, there is a datasource for a list of products. I have added a groupheader to group them by product ID, but I don't want to sort them by productID , instead I want to sort the products by product description. Anyone can help me with this?
Thanks
Ben
how to group by one column, sort by another column
Hello Ben,
Please set SortDirection property of GrooupHeaderBand to None. After then add required sorting to DataBand.
Thank you.
Please set SortDirection property of GrooupHeaderBand to None. After then add required sorting to DataBand.
Thank you.
-
- Posts: 4
- Joined: Mon May 17, 2010 5:42 pm
how to group by one column, sort by another column
great, thanks. It works:biggrin: :biggrin: :biggrin: :biggrin: :biggrin: :biggrin:
how to group by one column, sort by another column
I have the same problam but I dont understood your help
what do you meen " add required sorting to DataBand"?
what do you meen " add required sorting to DataBand"?
how to group by one column, sort by another column
Hello,
Thank you.
Please set the Sort property of the databand to: SortBy=product_description_field, Ascending.hana wrote:I have the same problam but I dont understood your help
what do you meen " add required sorting to DataBand"?
Thank you.
how to group by one column, sort by another column
I want to group by ProductID
but to view the groups sorting by ProductName
I didnt mean that I wanted to sort the data of every group but to sort the groups
but to view the groups sorting by ProductName
I didnt mean that I wanted to sort the data of every group but to sort the groups
how to group by one column, sort by another column
Hello,
Does the only ProductName correspond to each ProductID?
Then you can group by ProductName.
Thank you.
Does the only ProductName correspond to each ProductID?
Then you can group by ProductName.
Thank you.
how to group by one column, sort by another column
hello,
"ProductName" was just example
I want to sort by column that not correspond to each ProductID
what can I do?
"ProductName" was just example
I want to sort by column that not correspond to each ProductID
what can I do?
how to group by one column, sort by another column
Hello,
Can you please send us a sample report template with data?
Thank you.
Can you please send us a sample report template with data?
Thank you.
Re: how to group by one column, sort by another column
I have the same problem. I have a dataset with the following structure:
SupplierId, SupplierName, ProductId, ProductName.
I need to group by SupplierId and sort by SupplierName.
And the DataBand sorts by ProductName.
Why not group by SupplierName? We can't guarantee that the name is unique. The ID is responsible for that.
This is a common situation. To me, it doesn't make sense to use a name or description instead of the ID.
Is there a solution for this?
I am using version: 2024.3.2
SupplierId, SupplierName, ProductId, ProductName.
I need to group by SupplierId and sort by SupplierName.
And the DataBand sorts by ProductName.
Why not group by SupplierName? We can't guarantee that the name is unique. The ID is responsible for that.
This is a common situation. To me, it doesn't make sense to use a name or description instead of the ID.
Is there a solution for this?
I am using version: 2024.3.2