Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Power Bi Lookup Fields Loading Error

(0) ShareShare
ReportReport
Posted on by 70

Hi all,

Working on Power bi Report want to get Report to Position of a worker in order to get the value these entities are required 

Worker (mshr) 

Position V2 (mshr)

Position Hierarchies (mshr)

when loading these entities error occurred as 400 bad requests when I set the query like this to load only a few columns like 

Table.SelectColumns(#"Position V2 (mshr)",{"mshr_hcmpositionv2entityid","mshr_workerpersonnelnumber","mshr_jobid"})

it loaded successfully when I enter the lookup field column in SelectColumns error appears again, is there any restrictions not to load lookup columns I want to load this "mshr_fk_worker_id" column

Thanks,

Muhammad Saad Rafiq.

  • Parag Chapre Profile Picture
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: Power Bi Lookup Fields Loading Error

    Hi Muhammad,

    Did you check position hierarchy validation first?

    If it is ONE to MANY then it should be possible in Power BI.

    I did the same kind of scenarios in Power BI. It works for me. You can message me offline and I will try to help you out.

  • RE: Power Bi Lookup Fields Loading Error

    Hi Parag,

    I've tried this approach but we have a scenario where multiple workers assigned to the same job positions i.e. it is possible that several workers can have the same parent job position

    Abc is the worker with Job Position 'Jr Software Engineer' and it Reports to XYZ with Job Position 'Senior Software Engineer'

    DEF and XYZ both have the same Job Position 'Senior Software Engineer'

    in this case, two manager names will appear but the worker reports to which one how can we find it out.

    Thanks,

    Muhammad Saad Rafiq.

  • Suggested answer
    Parag Chapre Profile Picture
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: Power Bi Lookup Fields Loading Error

    Hi Muhammad,

    Instead of using this, you can use the below approach from Dataverse tables.

    cdm_worker

    cdm_jobPosition

    cdm_positionworkerassignmentmaps

    Try with dataverse connector in Power BI and use above entities.

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!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans