Sales overview in selected currency

When creating business reports, there is often a requirement that they should be displayed in multiple currencies, that is, the user can choose the currency in which a report is displayed. This can be achieved in several ways and one of them, very elegant, is with the help of the LAMBDA function. In this “recipe” you will find out how you can use it to display sales reports in different currencies.

Dynamic lists, the easy way

There are several ways to use the Data Validation option  to generate lists to select values when filling out tables. One of the earlier “recipes” was about how to create dynamic lists. With the advent of the TRIMRANGE function, this can now be done in an even simpler way, without having to use a Name Manager and write complicated formulas.

Removing blank rows

One of the earlier “recipes” was about how to use the Go To Special option  to remove empty rows from the table. Now it is possible to do this in a much easier way, by using the TRIMRANGE function in combination with some other functions which are returning dynamic arrays. The result is a dynamic table that will be automatically updated if you decide to remove any more rows.

Function TRIMGRANGE

The TRIM function removes extra blank characters, we all know this by now, and TRIMRANGE, as its name suggests, is used to remove empty values from a selected range of data. In addition, it is possible to specify whether their removal takes place in rows or columns and in which order. It is well combined with the SORT and UNIQUE functions, and in the following text you will see how to apply it in practice.

Displaying details

Power BI visualizations often have a Tooltip section with which is a feature that enables focus on specific attributes. For example, if you hover an item shown in the report, you can see information about the manufacturer, number of brands, average price, etc. Something like this does not exist in Excel, but if we can mark items in some way, it is possible, with a little improvisation,  affect the display of attributes. To do this, we will use the Checkbox option…