Format Rule Expensive? Working on an app her...

Format Rule Expensive?

Working on an app here. I have a table with the following columnsโ€ฆ 1. Material 2. Alloy 3. Pricing

I have a form with dependant drop downs from 1 & 2, and a format rule that checks if that particular alloy has pricing, and if yes, highlights in green. Hereโ€™s my codeโ€ฆ

ISNOTBLANK(ANY(SELECT(MaterialList[Pricing],[Alloy]=[_THISROW].[Alloy])))

It basically checks if the Alloy you have selected already has pricing. This is a quoting app, so before trying to calculate pricing, it is basically alerting the user if it does, or does not have pricing data.

This is triggering an alertโ€ฆ

โ€œThe condition of format rule โ€˜New Format Ruleโ€™ may be expensive and slow the user experience of your appโ€

Is there a better way to do this?

Thanks!

0 3 339
3 REPLIES 3

Is your โ€œAlloyโ€ field a ref field?

Hi,

Iโ€™ve done it both waysโ€ฆ I set it as a REF field and Iโ€™ve also used the โ€œValid ifโ€ constraint since this is essentially a double-dependant drop down. Select material, then select alloy.

Is there a way to do this that I can make it work without it being too slow?

Thanks!

You could add an additional Show type field just after the Alloy field telling the situation if it has price already. You could do that because you only need that information when filling the form.

Top Labels in this Space