ディスカッション
NetSuiteの保存検索やレポートをマスターするための究極のガイドである分析センターを使用して、データの力を最大限に活用しましょう。複雑さを単純化し、組織の真の可能性を解き放ちます。今すぐ分析センターに参加して、新たな高みを目指しましょう!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
保存検索の計算フィールド x / yにNullの代わりにゼロを表示する方法
適用
製品: NetSuite 2023.1
シナリオ
保存検索の計算フィールド x / yにNullの代わりにゼロを表示する方法
解決策
xを被除数の内部ID、yを除数の内部IDとし、計算式x / yを使用する代わりに、次の式を使用します。
NVL2({sales}/nullif({presentation},0), {sales}/nullif({presentation},0), 0)
この数式は、除数が0より大きい場合は正しい商を返し、除数が0の場合は0を返します。
タグ付けされた:
0