# What to show if the answer is 0,00

**URL:** <https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164>\
**Category:** Templates\
**Tags:** control\_flow, if\
**Created:** [March 26, 2017, 9:52pm UTC](https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164 "2017-03-26T21:52:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fiduciaire.Eulaers](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/fiduciaire.eulaers/32/31_2.png) [@Fiduciaire.Eulaers](https://community.silverfin.com/u/Fiduciaire.Eulaers)\
**Post date:** [March 26, 2017, 9:52pm UTC](https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164/1 "2017-03-26T21:52:39Z")

</div>

I’ve been searching but it seems that I can’t find the answer I need.  
We added some reconsiliation templates for our “eenmanszaken”.  
For example we made one for each “cost” (64, 65, 66).  
At the moment, if there are no 65-accounts, this template will not be shown.  
We would like the words “Nihil.” to be shown, instead of not showing this template at all.  
I hope it is clear, it’s not so easy to explain it in English 😊

---

<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:** [March 27, 2017, 11:12am UTC](https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164/2 "2017-03-27T11:12:41Z")

</div>

Hello @Fiduciaire.Eulaers,

Do you mean you want ‘nihil’ to be shown in the export?

---

<div class="post-metadata">

**Author:** ![Fiduciaire.Eulaers](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/fiduciaire.eulaers/32/31_2.png) [@Fiduciaire.Eulaers](https://community.silverfin.com/u/Fiduciaire.Eulaers)\
**Post date:** [March 27, 2017, 11:23am UTC](https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164/3 "2017-03-27T11:23:57Z")

</div>

Yes, I would like the title & under the titel I would like the word “Nihil.”  
(if there is nothing to show)

---

<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:** [March 27, 2017, 11:38am UTC](https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164/4 "2017-03-27T11:38:24Z")

</div>

It depends what variable is being used as the parameter for being nil, but you could use something like :

`{% if custom.something == blank %} nihil {% else %} the rest of the code that shows not a nihil-value {% endif %}`

It could help that you paste your code of the reconciliation template.

---

<div class="post-metadata">

**Author:** ![Fiduciaire.Eulaers](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/fiduciaire.eulaers/32/31_2.png) [@Fiduciaire.Eulaers](https://community.silverfin.com/u/Fiduciaire.Eulaers)\
**Post date:** [March 27, 2017, 12:38pm UTC](https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164/5 "2017-03-27T12:38:08Z")

</div>

```auto
{% capture table %}
{% if custom.detail.accounts == blank %}{% assign account_range = '74' %}{% else %}{% assign account_range = custom.detail.accounts %}{% endif %}

| ANDERE BEDRIJFSOPBRENGSTEN {% input custom.detail.accounts as:account_collection range:6,7 default:account_range %} | Bedrag {% assign accounts = period.accounts | range:account_range %}
|---------------------|-------15%-------:+{% for account in accounts %}
|{% if forloop.last %}_{% endif %}{{ account.name }}{% if forloop.last %}_{% endif %}|{% if forloop.last %}_{% endif %}{%=$0+ -1*account.value %}{% if forloop.last %}_{% endif %}|{% endfor %}

|---------------------|-------15%-------:+
| | **{{ $0 | currency }}** 
{% endcapture %}

{% if custom.detail.goederen == blank %}{% assign goederen_range = '64'%}{% else %}{% assign goederen_range = custom.detail.goederen %}{% endif %}
{% assign goederen = period.accounts | range:goederen_range %}

{{ table }}

```

---

<div class="post-metadata">

**Author:** ![Fiduciaire.Eulaers](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/fiduciaire.eulaers/32/31_2.png) [@Fiduciaire.Eulaers](https://community.silverfin.com/u/Fiduciaire.Eulaers)\
**Post date:** [April 3, 2017, 8:49am UTC](https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164/6 "2017-04-03T08:49:25Z")

</div>

Do you know how to solve this?

---

<div class="post-metadata">

**Author:** ![Fiduciaire.Eulaers](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/fiduciaire.eulaers/32/31_2.png) [@Fiduciaire.Eulaers](https://community.silverfin.com/u/Fiduciaire.Eulaers)\
**Post date:** [April 25, 2017, 7:00am UTC](https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164/7 "2017-04-25T07:00:15Z")

</div>

Did you already had a chance to look at this?

---

<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:** [October 18, 2017, 6:55am UTC](https://community.silverfin.com/t/what-to-show-if-the-answer-is-0-00/164/8 "2017-10-18T06:55:53Z")

</div>

Hello @Fiduciaire.Eulaers,

Not sure how we missed this topic as well; I’ll be sure to look into it why this has happened…

Anyway, if you have this code :

```auto
{% assign accounts = period.accounts | range:account_range %}

```

your accounts will automatically be filtered on accounts that have an total value.

If you want the accounts with end value zero as well, you can add ‘include\_zeros’ to the drop period.accounts :

```auto
{% assign accounts = period.accounts.include_zeros | range:account_range %}

```

No accounts will be filtered.

Is this what you are looking for? Or do you want to display a text too if the account has zero value ?
