Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

[Jet Report] What does =$D$3+1&".." means?

Posted on by 4,359

Hi Copmmunity,

May I know in Jet report, what does this means?

pastedimage1650759784294v1.png

Thank you!

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: [Jet Report] What does =$D$3+1&".." means?

    Josh,

    Adding to this thread to help...

    =NL (What, Table, Field, FilterField1, Filter1, ..., FilterField10, Filter10)

    Purpose:  Retrieves individual fields or record keys from your database, based on filters that you provide.

    Structure of the NL function

    The first three parameters of the NL function specify what to retrieve, the table, and the field.  The fourth, fifth and following parameters specify the filters.

    =NL("what to retrieve", "table name", "field name", "filter field", "filter value")

    For each filter, you include two parameters: the filter field and the filter value.

    Retrieve balance of customer "10000":

    =NL("First","Customer","Balance","No.","10000")

    The function tells Jet Reports to return the Balance field in the Customer table for the record that has a customer No. of "10000".

    This NL returns the record key for all of the customers in the Customer table who are in the City of Boston with a Balance less than zero:

    =NL("Rows","Customers",,"Balance","<0","City","Boston")

    Record keys are then referenced by NF() functions to retrieve individual field values

    This NL returns the Customer Name from sales quote number 10000. This NL can only return one record, so the 'What' parameter of "First" is used:

    =NL("First","Sales Header","Name","No.","10000","Document Type","Quote")

    This NL returns information for a company (regardless of the default company shown on the Jet ribbon):

    =NL("Rows","Customers",,"Company=","CRONUS USA, INC.")

    This NL returns information for a specific company and data source (ignoring the default company & data source):

    =NL("Rows","Customers",,"Company=","CRONUS USA, Inc.","DataSource=",2)

    This NL creates sheets called "US","CANADA" and "MEXICO" using an array in the table field:

    =NL("Sheets","{"US","CANADA","MEXICO"})

    How would you get the sum of the balances for all customers in Georgia?

    =NL("Sum","Customer","Balance","State","GA")

    This function will find all customers in Georgia and return the sum of their balances.

    If you only wanted customers in Atlanta, you could use:

    =NL("Sum","Customer","Balance" ,"State","GA" ,"City","Atlanta")

    Can you guess how to write the function for the sum of all positive balances?

    =NL("Sum","Customer","Balance","Balance",">0")

    You can specify up to ten filters. If you wanted the sum of the balances of all customers with positive balances in Atlanta, GA, you could use:

    =NL("Sum","Customer","Balance","Balance",">0","City","Atlanta","State","GA")

    If you wanted to know how many customers had positive balances in Atlanta, GA you could use:

    =NL("Count","Customer","Balance","Balance",">0","City","Atlanta","State","GA")

    Hope this helps.

    Thanks,

    Steve

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
    RE: [Jet Report] What does =$D$3+1&".." means?

    Hi, Just to add a little information, there are some examples in the link below for reference.

    https://support.jetglobal.com/hc/en-us/articles/218953168-NL-Function-Reference

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    JAngle Profile Picture
    JAngle 33,159 on at
    RE: [Jet Report] What does =$D$3+1&".." means?

    Looks like an attempt to make a filter string. I’d assume it is a date one due to the ..

    So something like 24/04/22 + 1 which would make the date filter of 25/04/22..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans