# Dashboard Summary - setting numeric format?

**URL:** <https://www.epiusers.help/t/dashboard-summary-setting-numeric-format/86575>\
**Category:** Epicor ERP 10\
**Tags:** dashboard\
**Created:** [January 19, 2022, 8:15pm UTC](https://www.epiusers.help/t/dashboard-summary-setting-numeric-format/86575 "2022-01-19T20:15:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BillCox](https://www.epiusers.help/user_avatar/www.epiusers.help/billcox/32/33847_2.png) [@BillCox](https://www.epiusers.help/u/BillCox)\
**Post date:** [January 19, 2022, 8:16pm UTC](https://www.epiusers.help/t/dashboard-summary-setting-numeric-format/86575/1 "2022-01-19T20:16:00Z")

</div>

Our users are requesting an average for the ‘Overall Efficiency’ column on a dashboard. Efficiency is displayed as a percentage (format set in BAQ), but the format is not carried through to the summary. I prefer not to tell users that it’s a ‘known issue’. So, is there a way to make this happen?

![image](https://www.epiusers.help/uploads/default/original/3X/7/e/7eb8abe94ef589cd0c25a1a266c0b8b1f0f077c4.png)

---

<div class="post-metadata">

**Author:** ![hkeric.wci](https://www.epiusers.help/user_avatar/www.epiusers.help/hkeric.wci/32/52019_2.png) [@hkeric.wci](https://www.epiusers.help/u/hkeric.wci)\
**Post date:** [January 19, 2022, 8:33pm UTC](https://www.epiusers.help/t/dashboard-summary-setting-numeric-format/86575/2 "2022-01-19T20:33:48Z")

</div>

Your easiest way may be to change your Column Title to **Overall Efficiency %** and then drop the % sign from the column values. This way export to Excel will make Excel happy as well.

The more complex option is you Customize and modify the Summaries Display Format, not sure to what but to something.

### Infragistics Docs:

> **[DisplayFormat Property - Infragistics Windows Forms™ Help](https://www.infragistics.com/help/winforms/infragistics.win.ultrawingrid~infragistics.win.ultrawingrid.summarysettings~displayformat)**
>
> tution string used for formatting the summary. For example: "{0}", "Total = {0}". \<!-- Syntax Visual Basic C# 'Declaration   Public Property DisplayForm...

[https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/28629/summary-display-format-and-columns-format](https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/28629/summary-display-format-and-columns-format)

### Forum Posts with Similar Code:

[https://www.epiusers.help/search?q=band%20Format](https://www.epiusers.help/search?q=band%20Format)

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [January 21, 2022, 6:20pm UTC](https://www.epiusers.help/t/dashboard-summary-setting-numeric-format/86575/3 "2022-01-21T18:20:00Z")

</div>

You shouldn’t average a percent either… It doesn’t really mean anything.

If you really want that, the best way to do that is to make windowing functions to sum up the total expected, and the total actual, and do a percentage of the overall.

Sum(job.estimate) over (partition by table.field)  
Sum(job.actual) over (partition by table.field)  
If you want the whole table, just do something like company where it’s all the same.

Then divide those to get your percentage. They will be the same for all rows.

In your dashbaord, hide those 3 field, and in the tracker, show the % field, and don’t call for a prompt. It will show the overall percentage for you.

---

<div class="post-metadata">

**Author:** ![BillCox](https://www.epiusers.help/user_avatar/www.epiusers.help/billcox/32/33847_2.png) [@BillCox](https://www.epiusers.help/u/BillCox)\
**Post date:** [January 21, 2022, 7:40pm UTC](https://www.epiusers.help/t/dashboard-summary-setting-numeric-format/86575/4 "2022-01-21T19:40:12Z")

</div>

I suspected that the average of percentages wasn’t statistically valid, so I initially omitted summary on that column. The business wants to see some kind of aggregate, which is understandable.

I’m not familiar with PARTITION BY but it sounds interesting. Within a BAQ, is that something I would do in a calculated field? Glancing through the Query Builder, I’m not seeing that function anywhere.

---

<div class="post-metadata">

**Author:** ![Banderson](https://www.epiusers.help/user_avatar/www.epiusers.help/banderson/32/50875_2.png) [@Banderson](https://www.epiusers.help/u/Banderson)\
**Post date:** [January 21, 2022, 8:08pm UTC](https://www.epiusers.help/t/dashboard-summary-setting-numeric-format/86575/5 "2022-01-21T20:08:29Z")

</div>

Yes, you would type that in the calculated field. You can use almost any SQL function in a calculated field and it will take it. Search the site for windowing functions and you will find some examples. If you get stuck, you can show me what you have and I can help.

Here’s a site that explains how they work.

> **[SQL Window Functions | Advanced SQL - Mode](https://mode.com/sql-tutorial/sql-window-functions/)**
>
> This lesson of the SQL tutorial for data analysis covers SQL windowing functions such as ROW\_NUMBER(), NTILE, LAG, and LEAD.

and here’s a good example of a windowing function in action. It’s using ROW\_NUMBER() instead of SUM() but it’s the same basic concept.

> [@BAQ for Best Price Supplier](https://www.epiusers.help/t/baq-for-best-price-supplier/80331/5):
>
> Thank you for the ideas Mike! ROW\_NUMBER() OVER(PARTITION BY Part.PartNum ORDER BY VendPart1.BaseUnitPrice ASC) Dumped it into a dashboard to do some more filtering [image] Result is what I need, list all parts where there is a better price with an alternate supplier.
