Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

not responding when i query about this table

(0) ShareShare
ReportReport
Posted on by 2,046

Greeting everyone 

when i try to get query of this table DimensionAttributeValueCombination

static void Job24(Args _args)
{
    DimensionAttributeValueCombination   dimensionAttributeValueCombination;

    while select * from dimensionAttributeValueCombination 
    {
        info(strFmt("%1",dimensionAttributeValueCombination.DisplayValue));
    }
}

it's not responding

this table doesn't have customization 

also i did deleted and sync that table but still make ax2012 not responding for ever

also i try to add parameter even that make it  not responding for ever too

  • Suggested answer
    nmaenpaa Profile Picture
    101,158 Moderator on at
    RE: not responding when i query about this table

    What exactly are you trying to achieve? Clearly this is just a job to list all DisplayValues but what is your business requirement?

    I think the slowest thing in your code is that you try to print so many entries to the infolog.

  • Suggested answer
    Martin Dráb Profile Picture
    232,988 Most Valuable Professional on at
    RE: not responding when i query about this table

    This table usually has many records, therefore iterating all of them may take a while. Especially when you run code on client - consider doing it on server.

    Also, you fetch all fields from database and then ignore all of them except of DisplayValue. Selecting just DisplayValue will improve performance.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,259 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,988 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans