Last active
January 8, 2021 20:25
-
-
Save lukeawyatt/729740ab6a007da9ae96de6e2801bc26 to your computer and use it in GitHub Desktop.
Application: SSRS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Interactive Sorting Descending by Numeric */ | |
=Fields!NumericFieldToSortBy.Value * -1 | |
/* Interactive Sorting Descending by Date */ | |
=DATEDIFF("d",Fields!DateFieldToSortBy.Value,Today()) | |
/* Interactive Sorting Descending by String */ | |
=CLNG(CSTR(ASC(UCASE(LEFT(CSTR(Fields!LastName.Value) + "@",1)))) | |
+ CSTR(ASC(UCASE(MID(LEFT(CSTR(Fields!LastName.Value) + "@@",2),2,1)))) | |
+ CSTR(ASC(UCASE(MID(LEFT(CSTR(Fields!LastName.Value) + "@@@",3),3,1)))) | |
+ CSTR(ASC(UCASE(MID(LEFT(CSTR(Fields!LastName.Value) + "@@@@",4),4,1)))) | |
+ CSTR(ASC(UCASE(MID(LEFT(CSTR(Fields!LastName.Value) + "@@@@@",5),5,1)))) | |
) * -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=IIf(RowNumber(Nothing) MOD 2, "White", "WhiteSmoke") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=IIf((Fields!FieldName.Value=""), "Blank Value", (IIf((IsNothing(Fields!FieldName.Value)), "Null Value", "Good Value"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=IIf((Fields!FieldName.Value = Previous(Fields!FieldName.Value)), "Match", "No Match") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=IIf(BOTTOM = 0, 0, TOP / IIf(BOTTOM = 0, 1, BOTTOM)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment