Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 839005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:23:47+00:00 2026-05-15T05:23:47+00:00

I have a problem with group expressions in a list. I want to use

  • 0

I have a problem with group expressions in a list. I want to use two expressions:

=Ceiling(RowNumber(Nothing)/3)' and '=Cint(Fields!kpilevel.Value)

They work both individually, but when I insert them together only 1 works. I inserted them like this: img718.imageshack.us/img718/736/problemxq.png

Does anyone know how to solve this?

Thanks in advance, Kris


EDIT: Better Explanation

Mark you are right, I didn’t explain it very well.

I want to place the data in a matrix, with a maximum of three columns per row, and I want to sort my data with the expression: =Cint(Fields!kpilevel.Value). Therefore I want to use both the expressions: Ceiling(RowNumber(Nothing)/3) and Cint(Fields!kpilevel.Value).

But I cant get the right output. I tried to place my grouping and sorting expressions, in multiple ways. With different results:

Last situation: http://img257.imageshack.us/img257/5765/10569159.png (Image Removed)

Different output:


List – Properties

Sorting: =Cint(Fields!kpilevel.Value) ascending

List – Grouping and Sorting Properties

Group on:

=Ceiling(RowNumber(Nothing)/3)

=Cint(Fields!kpilevel.Value)

Sorting:

=Cint(Fields!kpilevel.Value) ascending

Matrix columngroup – Grouping and Sorting Properties

Group on:

=RowNumber("list1_Details_Group")

Output: (ungrouped but sorted)

1

2

3

4

etc


List – Properties

–

List – Grouping and Sorting Properties

Group on:

=Ceiling(RowNumber(Nothing)/3)

=Cint(Fields!kpilevel.Value)

Sorting:

=Cint(Fields!kpilevel.Value) ascending

Matrix columngroup – Grouping and Sorting Properties

Group on:

=RowNumber("list1_Details_Group")

Output: (ungrouped & unsorted)

1

2

9

10

etc


List – Properties

Sorting:

=Cint(Fields!kpilevel.Value) ascending

List – Grouping and Sorting Properties

Group on:

=Ceiling(RowNumber(Nothing)/3)

Matrix columngroup – Grouping and Sorting Properties

Group on:

=RowNumber("list1_Details_Group")

Output: (grouped but unsorted)

1 2 9

4 7 3

10 etc


List – Properties

–

List – Grouping and Sorting Properties

Group on:

=Ceiling(RowNumber(Nothing)/3)

Matrix columngroup – Grouping and Sorting Properties

Group on:

=RowNumber("list1_Details_Group")

Sorting:

=Cint(Fields!kpilevel.Value)

Output: (grouped but strangly sorted)

1 2 9

10 11 13

3 4 7

12


I hope this makes it clearer, Kris

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T05:23:48+00:00Added an answer on May 15, 2026 at 5:23 am

    Following this, I have noticed some rather strange effects when grouping by functions of data items in matrixes in SSRS, rather than by data items themselves.

    For this reason, in this context I would recommend:

    • using a table rather than a matrix
    • sorting the table (or the dataset) by Cint(Fields!kpilevel.Value)
    • grouping the table by Ceiling(RowNumber(Nothing)/3)
    • include group footer rows only (no table header/footer, details or group header)
    • have 3 columns in the report
    • have conditional output in each cell, dependant on whether RowNumber(Nothing) mod 3 equals 0, 1 or 2

    Alternatively, if it has to be done in a matrix, then (assuming you’re using a SQL data source) I would recommend

    • grouping the query by int(kpilevel)
    • ordering the query output by int(kpilevel)
    • including display_row and display_column values in the query, defined as the ceiling of the rownumber/3 and the modulus of the rownumber with 3, respectively
    • defining the row and column groups of your matrix as the display_row and display_column values from the query, respectively.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a interesting problem. I have a list of lists, and I want
I have a problem - i can't compile SqlCipher. I'm using this http://groups.google.com/group/sqlcipher/browse_thread/thread/55c6296b56bf4533/c792bbec6df7d4f4?tvc=2#c792bbec6df7d4f4 instructions
I have problem with fancybox. I want to write a function that will run
I have problem with cakephp's Session->write method. If I set a value like $_SESSION['..']
I have problem with HTTP headers, they're encoded in ASCII and I want to
I am solving the following problem: Suppose I have a list of software packages
I have a list of regular expressions (about 10 - 15) that I needed
So I have two filtering objects. One is a drop down list, which chooses
I'm stuck in this problem for quite while now. I have two tables ItemMaster
Problem: I need to be able identify when two whitespaces occur consecutively. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.