Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display Superscript in SSRS reports

I m working on SSRS 2008. i want to display date as 1st January 2011.. but "st" should be in superscipt .. not like "1st".

is there any way to display "st", "nd","rd" and "th" in superscipt without installing any custom font type(other Font Type).

like image 335
Touseef Avatar asked Jun 13 '11 12:06

Touseef


People also ask

How do you add a superscript in SSRS?

Click on Start→Run and type charmap.exe. Click OK. 2. Change the font to Lucida Sans Unicode and then find the character that you need.

How do you write a superscript in Rdlc report?

Try using the superscript html tag, , around the text you need in superscript. Then highlight the text and tags (or expression) and right click to open the properties window. Then in the text properties' general tab, select "HTML - Interpret html tags as styles". The tag <sup> is getting ignored.

How to put Subscript in Word?

Use keyboard shortcuts to apply superscript or subscript Select the text or number that you want. For superscript, press Ctrl, Shift, and the Plus sign (+) at the same time. For subscript, press Ctrl and the Equal sign (=) at the same time.


2 Answers

just copy and paste from the following list:

ABC⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ABC₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₌ ₍ ₎

ABCᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ

ABCᴬ ᴮ ᴰ ᴱ ᴳ ᴴ ᴵ ᴶ ᴷ ᴸ ᴹ ᴺ ᴼ ᴾ ᴿ ᵀ ᵁ ᵂ

ABCₐ ₑ ᵢ ₒ ᵣ ᵤ ᵥ ₓ

ABC½ ¼ ¾ ⅓ ⅔ ⅕ ⅖ ⅗ ⅘ ⅙ ⅚ ⅛ ⅜ ⅝ ⅞ № ℠ ™ © ®

ABC^ ± ¶

like image 149
Mohammad Baygi Avatar answered Sep 22 '22 17:09

Mohammad Baygi


Maybe...

You are limited to what can be done with String.Format. Font size and spacing also refer to the whole text box. So it isn't "native"

However, superscript is unicode so you may be able to to do it with some fancy expression that concatenate characters. I'd suggest custom code.

I haven't tried this, but these articles mention it

  • http://beyondrelational.com/blogs/jason/archive/2010/12/06/subscripts-and-superscripts-in-ssrs-reports.aspx
  • http://www.codeproject.com/KB/reporting-services/SSRSSuperscript.aspx
like image 45
gbn Avatar answered Sep 20 '22 17:09

gbn