# CASE: display the name of account

**URL:** <https://community.silverfin.com/t/case-display-the-name-of-account/1008>\
**Category:** Cases\
**Tags:** drops, case, drop\_accounts\
**Created:** [June 19, 2018, 8:56am UTC](https://community.silverfin.com/t/case-display-the-name-of-account/1008 "2018-06-19T08:56:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sven](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sven/32/1495_2.png) [@sven](https://community.silverfin.com/u/sven)\
**Post date:** [June 19, 2018, 8:56am UTC](https://community.silverfin.com/t/case-display-the-name-of-account/1008/1 "2018-06-19T08:56:24Z")

</div>

In case you’d rather display quickly the name of an account (instead of creating a collection with only the account in, and looping over it to create it, for instance:

```auto
{% assign accounts = period.accounts.400000 %}

{% for acc in accounts %}
  {{ acc.name }}
{% endfor %}

```

you now can do it way shorter:

```auto
{{ period.accounts["400000"].name }} 

```

You can combine it even with dots in the account number (for other countries other than BE):

```auto
{{ period.accounts["400000.001"].name }} 

```
