Telerik Reports - Localizing Expressions - localization

We are currently using telerik reports that needs to be localized. Is there any way to localize text that was set in expressions on textboxes like below?
Ex. =iif(Fields.IsValid = 1, "Text Example 1", "Text Example 2")

Related

Making data appear from a dropdown list in Google Sheets

I'm trying to create a sheet that allows me to compare four different properties I'm considering taking a mortgage out on. It contains ranges where I input data (property value, deposit percentage etc) for each of the four properties, and then this feeds into four property displays below which shows me my monthly outgoings for each property.
I'm looking for a way to only see one data input range at a time, using a dropdown to access it. So I could select "Property 1" from the dropdown, it would bring up my Property 1 data input range, I could add the relevant information, and then select Property 2 and do the same etc.
I've tried creating each input range as a named range, and then using =IF to call them like this:
=IF(C8="Property 1",Property_one)
But this just brings up #VALUE! and the error "An array value could not be found."
Any help would be appreciated! Here's a copy of the sheet I've been working on – you can see where I've been faffing around with the =IF function at the bottom.
Thanks in advance!
try:
=INDEX(IF(C8="Property 1", Property_one, ))
or:
=INDEX(IF(C8="Property 1", Property_one,
IF(C8="Property 2", Property_two,
IF(C8="Property 3", Property_three,
IF(C8="Property 4", Property_four, )))))

How to have VLOOKUP pull multiple instances?

I currently have a sheet where I'm organizing launches.
SAMPLE
Currently I have a overview sheet and a calendar sheet which pulls from the overview sheet according to date and event type.
=iferror(VLOOKUP(B$3&" "&$A4,Sheet1!$A:$D,4,0),"")
However, when there are multiple "TITLE EVENTS" on a single day, I have to create separate rows w/ "TITLE EVENTS 2" and "TITLE EVENTS 3" in order for VLOOKUP to differentiate and show all instances of title events on the calendar.
Is there a way (may be a lot more complicated) where I can just have a single "TITLE EVENTS" selection and have the sheet be able to create a new row under "TITLE EVENTS" on its own? (ideal look on sheet 3).
A more elegant option:
See here
=IFERROR(ARRAY_CONSTRAIN(FILTER('Date Registry'!$D:$D, ('Date Registry'!$A:$A)=(H$3&" "&$A5)), 4, 1), "")
Formatted:
=IFERROR(
ARRAY_CONSTRAIN(
FILTER('Date Registry'!$D:$D, ('Date Registry'!$A:$A)=(H$3&" "&$A5)),
4, 1)
, "")
See if this solves your problem:
I copied your sheet and modified it to look Sheet 3 but with formulas.
You can see it here.
I used the following formula on the Calendar sheet:
=IFERROR(INDEX(FILTER('Date Registry'!$D:$D, ('Date Registry'!$A:$A)=(E$3&" "&$A$5)), ROW()-4, 1), "")
Explanation:
=FILTER('Date Registry'!$D:$D, ('Date Registry'!$A:$A)=(E$3&" "&$A$5))
gets all values of the intended type (eg. TITLE EVENTS) and with the intended date.
=INDEX(FILTER(...), ROW()-4, 1)
The second parameter is the row number.
Row 5 is the row with TITLE EVENTS.
Therefore, ROW() - 4 gives the 1-based index of the row relative to row 5.
The third parameter is column number but since the range is only one column, it's always 1.

Google Sheet > Translate String to Function Path

I am creating a summary sheet in which you can select a column title, and below you will get the Sum of this row.
I have a data validation picker that provides you the options, e.g. column "First Col", "Second Col", "Third Col".
Then I translate it using a switch to "A", "B", "C" (actual columns on the other sheet), and even add the full location, e.g. "OtherSheerB2:B10000".
The problem is how can I try to translate the String representing the column as the function path:
In this example, if you chose "Second Col", I will try =Sum("OtherSheerB2:B10000")
and fail :(
Is the idea I am trying even possible? or are there any other suggestion?
Ok so I think I found a solution using SQL e.g.:
=QUERY({OtherSheerB2!$A$2:$T$1000},CONCAT(CONCAT("select sum(Col",M1),")"))
When M1 contains the number of the columns I want to sum.

Reduce font-size based on text length

How to alter the font-size of the text in a text-box based on its character count in Telerik reporting.
I did the same thing in RDLC using the below query.
=iif(len(Fields!Description.Value) > 20, "8pt", "13pt")
How to map this with Telerik reporting?
There are a couple of ways you can achieve this.
Conditional Formatting Rules
Right-click on your text-box and select Conditional Formatting... Create a new rule and set your condition like this:
Then click on the style builder for this condition and make the font adjustments:
You can add as many rules as you want.
Here's the documentation: https://docs.telerik.com/reporting/expressions-conditional-formatting
HTMLTextBox
The other way to apply conditional formatting is through the use of an HTMLTextBox. There you can include html markup in the value of the box and it will be rendered (with some limitations):
=Iif(Len(Fields.Description) > 20,
"<span style='font-size:8px'>" + Fields.Description + "</span>",
"<span style='font-size:12px'>" + Fields.Description + "</span>")
For more information on that: https://docs.telerik.com/reporting/report-items-html-text-box

Detect a string in Google Sheet and output a different string based on the result

I use REGEXMATCH to detect strings in a sheet. I need to replace the cells values by texts.
For example, detect "One" and output "Text one", detect "Two" and output "A second text", detect "three" and output "Another text".*
I already use :
=IF(OR(REGEXMATCH('Sheet'!A2;"One");REGEXMATCH('Sheet'!A2;"Two"));"Texte 1";"My second text")
But it's only based on TRUE/FALSE, I will have up to 4 possibilities.
IFS allows more conditions:
=IFS(REGEXMATCH(A1,"One"),1,REGEXMATCH(A1,"Two"),2, ...)
You can do this with substitute. You may need to replace my ',' with ';' for the language difference.
=substitute(substitute(substitute(SUBSTITUTE(A2,"One","Teste 1"),"Two","My second text"),"Three","My third text"),"Four", "My fourth text")

Resources