.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

Matrix column Interactive sort

Posted By:      Posted Date: October 08, 2010    Points: 0   Category :Sql Server
 

Hi,

 

In one of my reports, there is a requirement to provide interactive sort functionality on all the columns of the matrix report.

(Reporting Services 2005).

 

I was successful in implementing the interactive sort on the row groupings, but was unable to do the same on the column groupings.

 

For example , I have the following :



View Complete Post


More Related Resource Links

listView Sort for a celltmplate column

  
hi , i have a list view with a column that is binded to a field in my database the field contains integers that represents the City_ID , and i a have another table that contains the cities and their ID's, so , when i apply the sort based on this column (City Column) the list View is sorted based on the integers not on the city names here is my XAML definition of that column : GridViewColumn Header="City_Name_ID" Width="75">                         <GridViewColumn.CellTemplate>                             <DataTemplate>                                 <ComboBox IsSynchronizedWithCurrentItem="False" ItemsSource="{Binding Source={StaticResource CitysViewSource}}" SelectedValue="{Binding Path=City_Name_ID}" SelectedValuePath="City_ID" DisplayMemberPath="City_Name"/>                      &nb

What is the meaning of Ascending\descending sort order of a column within an index

  
When I add a new index I can also specify the "sort order" as ascending or descending. What does it mean? does it affect performance? does it mean that the binary search tree will be set in a certain way?

sum of only selected column in matrix

  
i have a simple matrix where is display yearly sales: i want to show avg_1_year, avg_2_year, which uses the formula : yearly amount / number of month... for avg_1_year: 2010 amount / 8 (since we are in august).. customer       2010      2009    2008 2007  avg_1_year  avg_2_year  A                    500     200      200  200      500/8         (500+200)/20 i dont know how to get values of 2010 for avg_1_year and of 2010+2009 for avg_2_year

Interactive Sort - problem when toggling

  
I have created a matrix with a toggle option on one of the rows (when the report is initially run this row is hidden).  This row when toggled produces 10 or more rows with data.  In the column headings I have given the user the option to interactively sort through the data that is stored in this row.  The problem that I am having is that when I choose to sort the data after I have toggled to see the data, the report re-renders and the goes back to the un-toggled view.  So I have to re-toggle to see what my sorted data. I want to be able to view my sorted data without having to toggle back out. I believe the solution lies in Row visibility "show or hide based on expression".  I just don’t know what expression to use... or if the solution is more complex. Help please.

Interactive sort - keep toggled data open

  
I have created a matrix with a toggle option on one of the rows (when the report is initially run this row is hidden).  This row, when toggled produces 10 or more rows with data.  In the column headings I have given the user the option to interactively sort through the data that is stored in this row.  The problem that I am having is that when I choose to sort the data after I have toggled to see the data, the report re-renders and the goes back to the un-toggled view.  So I have to re-toggle to see what my sorted data. I want to be able to view my sorted data without having to toggle back out. I believe the solution lies in Row visibility "show or hide based on expression".  I just don’t know what expression to use... or if the solution is more complex. is this possible??

Sort a WPF DataGrid on a Customized Column

  
I have several wpf DataGrids that use something similar to: {     Binding Path=ContactID, Converter={StaticResource contactIDToNameConverter}}"       As a best concept for various ID fields in my database.  This is great when needing to display editable data that is linked by ID, and my converter handles the validation and cleanup if needed. Otherwise an SQL View, or Joined Table SQL would not be able to send updates directly to the database (DataSet Wizard).  For this DataGrid's Contact column (bound to the ContactID field from a ICollectionView; bound to a DataSet.ClientsToContacts DataTable), I have an underlying value of Integer, and a converted surface value of String.  I want to sort on the string. Using ICollectionView.View.SortDescription(path,direction) will only sort on the Integer, and I am desprately seeking work arounds.  Please help. jvj

Hiding Columns (not column groups) in a Matrix, can it be done

  
Hi.  I want to be able to hide some of the columns of this report.  For example , I don't want to see the % of State Total for Total column, and I don't want to see the % of Location Total for the other column groups.  Can this be done?  Any help would be appreciated.  Thanks J I am using Visual Studio 2005   Total   Anaheim CA Arlington VA Atlanta GA Count % of State Total % Of Location Total Count % of State Total % Of Location Total Count % of State Total % Of Location Total Count % of State Total % Of Location Total Count % of State Total % Of Location Total USA   3 100.00% 0.02%   0.00% 0.00%   0.00% 0.00%   0.00% 0.00%   0.00% 0.00%   AB 2 100.00% 0.01%   0.00% 0.00%   0.00% 0.00%   0.00% 0.00%   0.00% 0.00%   AE 8 100.00% 0.04%   0.00% 0.00%   0.00% 0.00% 3 37.50% 0.10% 1 12.50% 0.07%   AK 32 100.00% 0.17%   0.00% 0.00%   0.00% 0.00% 3 9.38% 0.10% 1 3.13% 0.07%   AL 161 100.00% 0.85%   0.00% 0.00%   0.00% 0.00% 17 10.56% 0.54% 84 52.17% 6.11%   AP 3 100.00% 0.02%   0.00% 0.00%   0.00% 0.00%   0.00% 0.00% 1 33.33% 0.07%

Removing Extra Padding Around Interactive Sort Arrows

  
I have a report (using SSRS 2005) which uses Interactive Sorting for all the headings in the table. There appears to be padding around the sort glyphs (arrows) on both the left and the right.  It looks like it is padding about 10px on the left and 10px on the right.  I don't have any setting in my report to explain this.  This means I have to size the text boxes to be a lot larger than they need to be otherwise the heading label wraps to another line. Here's what the text box looks like: ---------------------- | Review Date     ?     | ---------------------- As you can see in my representation there is a lot of padding to the left and right of the sort image. Is there anyway to get rid of this extra padding around the sort glyphs?  I've tried everything I can think of.  If not, can I keep the heading labels from wrapping?  I've tried non-breaking spaces but they still wrap to the next line. Thanks in advance, -- John...

how to hide a column in Matrix : SSRS 2005

  
I would like to hide a column in matrix using SSRS 2005 but when i use visibility : hiden then it shows white space and if i reduce a width to 0in; but it accepts by default 0.035in something.i really would like to hide a complete column without any whitespace and all.

How to sort # column in GridView (asp.net) ?

  

I have a GridView with a column that contains rows numbers. somethign like below :

#
------------------
1    |
2    |
3    |
.     |
.     |
.     |
11  |
12  |
13  |
.    |
.    |
.    |
-------------------

I've added it to the GridView with the following code :

<asp:TemplateField HeaderText="#" SortExpression="#">
<ItemTemplate>
<%# Container.DataItemIndex + 1 %>
</ItemTemplate>
</asp:TemplateField>


Now I wanna sort GridView with this column, I've done it by reading this thread. But when I sort the GridView by # column, it sorts the GridView like below :

#
------------------
1   |
11 |
12 |
.   |
.   |
.   |
21 |
22 |
23 |
.   |
.   |
.   |
-------------------

How can I fix it

Hide static Column in matrix report

  

I created one matrix report. i have 2 static columns and some dynamic (PIVOT) coulmns.

I have one boolean variable. If it is true need to hide first column else hide second column.

For matrix report Column visibilty property is disabled.

How to do this?

kindly help me.


How to sum selected matrix column in SSRS

  

anybody can help me to solve my problem??

i have a matrix report and i want to calculate just column 1 and column 3...

So any idea to solve my problem?

Thanks before :)

 

Gbu.....


Third Party Filtered Lookup is showing RENDER FAILED on clicking to sort Lookup Filter Column.

  

Hi,

i know this isn't a Microsoft Plug-in, but I have downloaded and installed the following third party control for WSS 3.0 (Not MOSS). 

http://filteredlookup.codeplex.com/

Has anyone had this problem. For some reason when I try and sort on a "Filtered Lookup" field I get RENDER FAILED. The column is in my Document Library that has 2,462 documents.

I need to switch off sort on it if possible. I have tried doing with JQuery (using Web Content Web Part), but no luck. 

Can anyone help as this is so important - even if someone can tell me where to start looking in the database. Could it be an incorrect/corrupt link in database or XML Schema File?

Your help would be really appreciated in this hour of need.

Thanks.

John.


Complex Matrix column data with different data type

  
Hi
All,
I have a data like this

drop table #table
select 34 as A,17948 as B,0.19 as C,19 as D,16145 as E,'Jan' as Period into #table
Insert into #table
select 26 as A,14206 as B,0.18 as C,19 as D,13411 as E,'Feb' as Period
union all
select 38 as A,13037 as B,0.21 as C,18 as D,14974 as E,'Mar' as Period
select * from #table

From this #table i want the view as below format and is doable thru matrix report option in SSRS,but the problem i am running is that i cannot get in this type of data type format. If you look into it,i have column with header 'Jan' and it has data in different data type e.g money,number,percentage. I need to maintain this data type in order to do the calculation after it generates the report on excel spreadsheet. If i use the varchar for the column, it is not usable to me in the final report and i cannot do the calcualtion. Any workaround will be highly appreciated.

    Jan               Feb          Mar
A $34               $26          $26
B 17,

Static column after aggreate column in matrix reporting service 2008

  

Dear sir/madam,

I would like to creating cross tab with static column after aggregate column. My report showed as below:

No

Name of employee

Performance Rating

Total Rating (Average of Performance rating)

Previous Salary

Increment

1

2

Salary

Bonus

A. Managerial Employee

 

 

 

 

 

 

 

B. Non-Managerial Employee

 

 

 

 

 

 

 

Performance Rating is cross tab column

Total Rating is Aggregate column

Previous Average,Previous,Increment is static column

I look forward to hearing from you.

Thanks in advance,





WPF: how to make a GridView only sort on one column as ascending order?

  

We use GridView inside the Listview. We need the grid view alwasy sort on one column ascending order and not allow to click column header to change it.

Is there a easy way to achieve it in Xaml?

If not possible, how to achieve it in code behind?

thx!

 


Report Builder 3.0 renders empty page for Reports with Matrix (column group) in Landscape orientatio

  

I need some help.

 

If I create a Report with a Matrix Tablix (with row Groups and column groups) in landscape layout and preview it in print layout, the report generates me some extra empty page every 2nd page.

I don't understand the rule, why it's doing that.

 

My Report settings are:

  • PageSize: width: 29.7 cm, height: 21 cm
  • InteractiveSize: width: 29.7cm, height: 21 cm
  • Margins : 0cm,0cm,0cm,0cm
  • Report Body : widht: 25cm, height: 10cm

According my Report settings this shouldn't happen, should it. The width of my Tablix is max 22cm.

What I noticed is, that when I shrink the width of my Report Body to 21 cm (to the width of the portrait layout) or less, the emtpy pages disappear.

Or when I delete the column group, it also renders the report without some empty pages.

I think this problem has something to do with column groups.

 

Is this a bug or am I missing a setting?


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend