cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lukaszEltwin1
Helper V
Helper V

Data modelling problem

Hello, 

 

I have a little problem with retrieving inf from connected model.

lukaszEltwin1_0-1665122676559.png

 

The goal is to retrieve "Operationname" from "mrpoperation" table to "FailregistrationExport" table

test.pbix

 

By default MRPTable_DAT will be having many antries( Only test file is having many-to-one relation). Test file has one unique orders, but its a straight fact table

 

3 REPLIES 3
lukaszEltwin1
Helper V
Helper V

If someone will have any idead how to solve it by modeling let me now.

 

For now i used merge with 2 selections with success

lukaszEltwin1
Helper V
Helper V

It wont work cause of indicrect relation, many to many . The file i attached has default reliationships with clean power query function

 

Table work across relationship as production no as id to retrieve Op name for "OperationNo"

 

FailRegistration>

lukaszEltwin1_0-1665133546230.png

 

>MRPtable_dat>

lukaszEltwin1_1-1665133705383.png

 

>MRPRoute>

lukaszEltwin1_3-1665133799158.png

 

>MRPOperation

lukaszEltwin1_4-1665133835667.png

 

After few modification of power query. The table cant display right now the data i m adding from Failregistrtation and MRPoperation

lukaszEltwin1_5-1665133933258.png

 

HoangHugo
Solution Specialist
Solution Specialist

Hi, try to active (x) relation

lukaszEltwin1_0-1665122676559.pngrelationship.PNG

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

Thank you 2022 Review

2022 Monthly Feature Releases

We had a great 2022 with a ton of feature releases to help you drive a data culture.