Sort and fill color SSRS
I have one report i want to sort the year as well as month change the background color row wise.
like
2011 january red
february red
march green
2010
january red
february green
march pink
According to the color column text color name the row background color has to be change.
Hi,
Once you rendered the data in the Tablix. You can do Group by Year and Sort by year & Month. Hope you have done like that only as per the screenshot i understood. Since the month is in characters if you sort the month it will come like this only. So
we can write a Case statement to identify the months in number (if January then assign 1, Feb then assign 2 like that) and have this number in a separate column as month_order. While sortiing give "Sort by Year,month_order". This will satisfies your sorting
issue i guess.
And color the row u did't give in detail so i understood like alternative row. U can use the below expression in the row background color property "=IIf(RowNumber(Nothing)
Mod 2 = 0,
"Silver",
"Transparent")"
Thanks & Regards,
Sridhar V
Dont forgot to "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful
Similar Messages
-
Need help with links and fill color
Hi all, I just recently discovered liveCycle and am very impressed with it! I have been trying to make myself a homework calendar for a while now, and I have it done mostly, but there are a few more things I'd like to add that I don't know how to do.
I have some HTML and Java experience, but very little XML or JavaScript experience. I have a feeling that what I am trying to do is relatively simple, but I just can't figure it out! I have spent hours pouring over Google and the help files, and I feel like I have gotten close, but no joy yet.
I have attached my calendar so far (truncated to fit 5MB max attachment size). I'd like it to do two more things:
1. Have the background color of the table cells change from white to green when the check box is checked.
(Alternately, I'd really like to get rid of the check boxes all thogether and just have the background of the table cells turn green with a keyboard shortcut, like "ctrl + D" for 'done'. But if that isn't possible, then the color change with the check box is fine.)
2. I'd like the button called 'WORD DOC' in the upper right of the form to open a word document on my local computer. Where I just push that button and a work doc opens right up in Word in another window.
I was able to get .PDF documents to open up with those other two buttons there ('Big Java' and 'Beginning Java II') by adding the script
app.openDoc("Big Java.pdf");
and
app.openDoc("Beginning Java II.pdf");
to each of the buttons respectively, but those PDFs need to be in the same folder as the calendar for that to work. I tried just altering that script by replacing the name of the PDF file with the name of a Word doc file like this:
app.openDoc("test.docx");
but the button doesn’t work at all, it just does nothing.
So that’s what I am trying to do. I have spent hours messing around with anything I could think of to get this to work, but unfortunately I just don’t know the language well enough to get it to work.
I would really appreciate any advice on this at all. Thank you very much for your consideration.Hi,
Thanks very much for your response! I was able to use the code to make the box turn green by adding that script to the 'click' event of textbox and changing the language from FormCalc to JavaScript. So what happened was that when I clicked in the textbox, the color turned green.
I couln't firgure out how to add it to the checkbox though. When I tried, it didn't do anything. The problem now is that when I click in the textbox to add my homework, it turns green. I need it to turn green once I finish my homework.
This would work great if the texbox turned green when I SHIFT clicked the box. Is there anything I could add to that scipt to do that? -
How to change Object Stroke Color and fill Color?
Hi to all
i need to change fillcolor & stroke color of Object
here i wrote code that tried but it is not
myDoc = app.activeDocument;
var dd = myDoc.colors.add({name:"PANTONE Black C", model:ColorModel.spot, colorValue:[0, 13, 49, 98]});
app.findObjectPreferences= NothingEnum.NOTHING;
app.changeObjectPreferences = NothingEnum.NOTHING;
app.findObjectPreferences.fillColor = "Black";
var myI1 = myDoc.findObject();
app.changeObjectPreferences.fillColor = "PANTONE Black C // here error throwing
app.changeObject ();
app.findObjectPreferences= NothingEnum.NOTHING;
app.changeObjectPreferences = NothingEnum.NOTHING;
app.findObjectPreferences.strokeColor = "Black";
var myI2 = myDoc.findObject();
app.changeObjectPreferences.strokeColor = "PANTONE Black C // here error throwing
app.changeObject ();
Error is : Invalid value for set property 'fillcolor' ,Expected Swatch, String or NothingEnum enumerator, but received "PANTONE Black C";
pls help me...
Thanks
ThangarajHi scriptor,
how to create find change query for object search
pls tell me with script.
here i attached one jpg file screen shot to understand my need
Thanks
Thangaraj -
How can I change the default fill and stroke colors for new shapes?
As you can see in the following screen recording, after I change the stroke and fill color, all my subsequent rectangles are created respecting these new colors. But then when I delete all the rectangles, choose the rectangle shape tool once again, and start creating new rectangles, they start getting created with another color I had used some time ago (and I don't know how did it become the default color).
http://tinypic.com/r/64jrwp/6
So how can I change the defaults, so that the fill color is say #ddd, and the shape has no stroke at all?
Thanks.When you have the shape tool selected you will see in the tool bar below - file edit etc a fill and stroke. This is where you can change the colours.
You can keep drawing your shapes like you did in the video but then select the rectangle and change the colour from this tool bar. The reason it changes will be because you changed the colours you were using (foreground / background) that display in the left side tool bar. -
Hi,
where can I find the active color, which is active (border and fill color), when nothing is selected.
E.g. I can get the active styles, when nothing is selected with:
applied character style of text defaults
and
applied paragraph style of text defaults.
Where nac I find the equivalent for fill and border color?
Thanks
TobiasThanks, that was for CS3. Where can I get that in CS2?
I searched the dictionary of document and application, but got no glue ...
Thanks
Tobias -
How to display polygons both with line contour and filled interior?
How to display polygons both with line contour and filled interior?
Java3D 1.3, Java 1.4.1-rcHi,
I just started with Java3D last week.
I assume you mean drawing polygons with outlines (wireframe) in one color and polygon face filling with another color. If so, I've got the same question! (I usually think of "contour" to refers to plotting surface intensity of independent data like temperature or elevation, but I don't think you mean this.)
The only solution I've found so far is to make two shapes with the same geometry.
Here's an example - an outlined and filled cube. I made it using a generalize class DualShape which is two shapes with the same geometry, but one filled and one as a line.
It works, although I can't say I understand the setPolygonOffset(), knowing what value to set. Without the command, the depthbuffer can't consistently decide which should be in front between the fills and lines so it looks bad.
I certainly think it would be nicer to do both internally, like:
pa.setPolygonMode(pa.POLYGON_LINE || pa.POLYGON_FILL);
And then have setFillColor and setLineColor for each.
I don't know why they don't allow this - maybe OpenGL can't do it like this so Java3D follows.
If anyone has any better ideas I'd like to hear about it.
Tom Ruen
class DualCube extends DualShape // cube with outline and fill colors
public DualCube(float ax, float ay, float az, //cube lower corner
float bx, float by, float bz, //cube upper corner
float br, float bg, float bb, //border color
float fr, float fg, float fb) //fill color
setGeometry(new CubeGeometry(ax,ay,az,bx,by,bz),br,bg,bb,fr,fg,fb);
class DualShape extends BranchGroup //general shape with outline and fill colors
Appearance ap1,ap2;
PolygonAttributes pa1,pa2;
ColoringAttributes ca1,ca2;
Shape3D s1,s2;
public void setGeometry(Geometry geo, float br, float bg, float bb, float fr, float fg, float fb)
//filled shape:
addChild(s1=new Shape3D(geo, ap1=new Appearance()));
ap1.setPolygonAttributes(pa1=new PolygonAttributes()); pa1.setPolygonMode(pa1.POLYGON_FILL);
ap1.setColoringAttributes(ca1=new ColoringAttributes()); ca1.setColor(fr,fg,fb);
//lined (wire) shape:
addChild(s2=new Shape3D(geo, ap2=new Appearance()));
ap2.setPolygonAttributes(pa2=new PolygonAttributes()); pa2.setPolygonMode(pa2.POLYGON_LINE);
ap2.setColoringAttributes(ca2=new ColoringAttributes()); ca2.setColor(br,bg,bb);
pa2.setPolygonOffset(-1000); //Uncertain what "float" value to use!
class CubeGeometry extends IndexedQuadArray //cube geometry data
private static final int[] faces =
0,3,2,1,
0,1,5,4,
1,2,6,5,
2,3,7,6,
3,0,4,7,
4,5,6,7
private static float[] verts = new float[24];
public CubeGeometry(float ax, float ay, float az, //lower limit
float bx, float by, float bz) //upper limit
super(8, IndexedQuadArray.COORDINATES , 24);
int n;
n=0; verts[n]=ax; verts[n+1]=ay; verts[n+2]=az;
n=3; verts[n]=bx; verts[n+1]=ay; verts[n+2]=az;
n=6; verts[n]=bx; verts[n+1]=by; verts[n+2]=az;
n=9; verts[n]=ax; verts[n+1]=by; verts[n+2]=az;
n=12; verts[n]=ax; verts[n+1]=ay; verts[n+2]=bz;
n=15; verts[n]=bx; verts[n+1]=ay; verts[n+2]=bz;
n=18; verts[n]=bx; verts[n+1]=by; verts[n+2]=bz;
n=21; verts[n]=ax; verts[n+1]=by; verts[n+2]=bz;
setCoordinates(0, verts);
setCoordinateIndices(0, faces); -
I have pie charts or other graphs that show multiple results (7-20). I set the "fill" colors to Automatic so that the results are dynamic (I don't want to specify a color for each result because I will then be limited that those results--I
prefer it to be dynamic).
I noticed that once you get above 4 or 5 results, no matter which palette is used, the "automatic" colors are so closely similar that it is hard to differentiate which color pertains to which result (group). For example, you could have a
reports that breaks the results into age groups like 1-18, 19-21, 22-25, 26-30, 31-41, 41-50, 51-65, 66-80, and 81+. By the time you review the results, there's likely to be 3 pairs of colors (or more) that are so closely similar that you can't
tell them apart (2 shades of yellow, 3 shades of blue, 2 shades of orange, or green, or teal, or purple or whatever).
Is there a way to use Automatic for the color scheme (I don't care which color pertains to which category) but also specify to not use colors that seem to bleed together (so that someone viewing the report can actually tell the difference)? Using SSRS
2008 Report Builder, if it makes a difference.Hi JNehman,
Reporting Services provides a list of predefined, built-in palettes that you can use to define a color set for series on your chart. All built-in palettes contain between 10 and 16 color values. You cannot extend the built-in palette to include more colors,
so if you need more than 16 colors, you must define a custom palette.
A custom palette let you add your own colors in the order you want them to appear on the chart. A custom palette is especially helpful if the number of series in your chart is unknown at design time. For more information, see
Define Colors on a Chart Using a Palette (Report Builder and SSRS).
Regards,
Heidi Duan
Heidi Duan
TechNet Community Support -
Sort rows by fill color?
Is it possible in Numbers to sort rows based on the row fill color? There are only 2 colors the rows have as background (fill), and it would save time to sort based on the highlighted row. Any ideas?
Thank you-I agree with jerrold.
I will certainly not ask Apple for such a feature.
Here is a script which may give you an efficient response.
property columnOffset : 2
tell application "Numbers"
activate
set {rName, tName, sName, dName} to my getSelection()
if (character 2 of rName) as text > "9" then
set columnLetter to text 1 thru 2 of rName
else
set columnLetter to character 1 of rName
end if
set twoNames to my decoupe(rName, ":")
set {colNum1, rowNum1} to my decipher(item 1 of twoNames)
set columnToSort to colNum1 + columnOffset
tell document dName to tell sheet sName to tell table tName
set myColor to background color of (get properties of range rName)
set nbRows to count rows
repeat with r from 1 to 14 --nbRows
set val to background color of (get properties of range (columnLetter & r & ":" & columnLetter & r))
set val to (val is myColor)
set value of cell r of column columnToSort to val
end repeat
end tell
end tell
--=====
on getSelection()
local mySelectedRanges, sheetRanges, thisRange, _, myRange, myTable, mySheet, myDoc, mySelection
tell application "Numbers"
activate
tell document 1
set mySelectedRanges to selection range of every table of every sheet
repeat with sheetRanges in mySelectedRanges
repeat with thisRange in sheetRanges
if contents of thisRange is not missing value then
try
--return thisRange --poorly formed result
thisRange as text
on error errMsg number errNum
set {_, myRange, _, myTable, _, mySheet, _, myDoc} to my decoupe(errMsg, quote)
--set mySelection to (a reference to (range rn of table tn of sheet sn))
return {myRange, myTable, mySheet, myDoc}
end try
end if -- contents…
end repeat -- thisRange
end repeat -- sheetRanges
end tell -- document 1
end tell -- application
return {missing value, missing value, missing value, missing value}
end getSelection
--=====
on decipher(n)
local letters, colNum, rowNum
set letters to "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
if (character 2 of n) as text > "9" then
set colNum to (offset of (character 1 of n) in letters) * 64 + (offset of (character 2 of n) in letters)
set rowNum to (text 3 thru -1 of n) as integer
else
set colNum to offset of (character 1 of n) in letters
set rowNum to (text 2 thru -1 of n) as integer
end if
return {colNum, rowNum}
end decipher
--=====
on decoupe(t, d)
local l
set AppleScript's text item delimiters to d
set l to text items of t
set AppleScript's text item delimiters to ""
return l
end decoupe
--=====
Select a cell with the color to use in the sort.
Run the script.
It will fill the column whose offset from the selected one is defined by the property 'columnOffset'
If the background of the cell in the source column is the searched one the value will be 1
if the background is not this one, the value will be 0.
So it will be easy to use a condition.
Yvan KOENIG (from FRANCE mardi 10 mars 2009 20:39:44) -
How can I select and delete the fill color (white background) of a live trace (B&W) with in an action set?
Illustrator CS4 in windows XP.Maybe Li[ve trace] is not t]he way[ to go
I have some suggestion one leave it as is and use a blending mode of multiply to give it a color background like this
leave it as is make it a grayscale tiff import int Illustrator and color it it in Illustrator like this
Or trace over it with the brush tool aand then give it a color ground.
Or do the original over and do a cleaner job with no tone or a minimum of tone. Then Live trace. -
How do you change the color of the sign and fill text to the color blue
How do you change the color of the sign and fill text to the color blue in a pdf document
Is this using the "Fill & Sign" tab of https://cloud.acrobat.com/fillsign (for now text input is only black) or maybe using the Fill & Sign tool in Adobe Reader XI, or another application?
Thanks,
Josh -
I can select a rating and a color label for my images, but I can not sort by rating and color label. when I click on the filter drop down, color label is not one of the options. how do I get both ratings and color lables as an option to sort with.
You can Filter (not sort) on both color label and rating if you want, open the Filter Bar with the backslash key, then click on Attribute, and then select the stars and color label of interest. If you really meant "sort" and not filter, then you can't do this in Lightroom.
-
Select same fill color and stroke color
Hi
any one help me to select same fill color with help of java script and stroke colot too
Thank
AppuNot saying it cant be scripted but what about just via the Illustrator "Select" menu:
Examples:
Select > Same > Fill & Stoke
Select > Same > Fill Color
Select > Same > Stroke Color -
I create a new file in RGB profile Adobe RGB 16bit
take the paint bucket and fill the layer with a color created by selector with the following parameters 35.40.35.100 CMYK and RGB corresponds to 24.20.18 the result is a full level of color 76.73.63.9 but in RGB corresponds to 24.20.18 because the values in cmyk not match ??Could you please post screenshots (with the pertinent Panels visible) to illustrate the issue?
Are you not aware that you cannot reliably define a CMYK color in RGB because the transformation is performed through the Profile Connection Space (Lab) and depends on the involved Color Spaces/ICC profiles (edited) and the Color Settings? -
I have a work to do, in ssrs we are using server reports in our project. i am looking for dynamically generating the ssrs dataset and filling the data into the dataset and binding the dataset to ssrs report(RDL) dynamically.
Getting the dataset dynamically has a solution by using Report Definition Customization Extension (RDCE), but the problem is binding that dataset to the report(RDL) dynamically was not there.
Here is the reference for RDCE http://www.codeproject.com/Articles/355461/Dynamically-Pointing-to-Shared-Data-Sources-on-SQL#6
I looked for binding the dataset to the report(RDL) dynamically and searched many sites but i did not get the solution. Can anyone help me here.
Is there any custom assemblies or any Custom data processing extensions to work around. Please help.
Thanks in advanceHi Prabha2233,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
my computer is all out of sort with the color and it is in like a negitative effect that i cannot seem to fix. How do i fix it?
Try System Preferences>Universal Access>Seeing>Display. See if White on Black' has been selected.
If so, select 'Black on White'.
Ciao.
Message was edited by: OGELTHORPE
Maybe you are looking for
-
I just bought an new iMAC G5 with an Epson CX 4200. I plugged it in, the Mac recognized the printer and it prints great B&W. When I print in color however I get red and blue text in a seperate lines, almost mirrored on top of each other. Is it a prin
-
Save File dialog from dll is not appearing to the front of TestStand window
Hi all, I am calling a C#.net dll from a step in TestStand sequence. A function is called which pops up a Save File dialog. This Save File dialog is appearing only behind other windows. There is an overload for the showDialog function that takes the
-
Objects preivew fine but print incorrectly--same problem when exporting
I had a PDF that was created in AutoCAD that I then took into Illustrator. I made all of my changes, went to print, and noticed that for some reason random lines would drop off of my printout, even though they appeared fine in the preview menu! And t
-
HP DV6 2030 SD recovery failure
Hello I have a nearly three year old HP DV6 2030 SD and for several reasons I wanted to reinstall all software. Directly after buying (december 2009) I made the three rescue DVD's and a system recovery DVD, and just to check, I then reinstalled the
-
How can i import vlc media file ( avi ) into itunes -?
it does not import through file add folder / file to library though an mpeg 4 movie, mpeg 4 vido file or a gets imported and even a vlc media file ( .mpg ) gets imported. Is it so that an avi willl not get imported into itunes and i will have to conv