Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
notintoexcel11
Frequent Visitor

Extracting data between unrelated tables in power BI

Hi,
I am facing an issue with extracting data between 3 different tables. There is a bridge table that I have created to form one-to-many relationships between bridge table and each of the three tables. These tables did not have unique values or equal no. of row items so I was getting a prompt for many-to-many relation.
In 1 of the 3 tables, I have customer code, and 1 customer code may have multiple materials linked to it. 1 report gives details of the quantity of materials or different line items that needs to be dispatched and I need to map the details of actual dispatch against the same customer ID using another table. Then finally calculate the ratio of actual dispatched vs to be dispatched quantities.
Please see if there is a possibility to help me out with this!

Thank you!!   

5 REPLIES 5
notintoexcel11
Frequent Visitor

I want to create a measure or calculation to capture the MTD (%) of the dispatch efficiency. Dispatch efficiency is the ratio of billing quantity to the pending quantity. I want to see the MTD value against each of the plant codes mentioned. Please guide me through.

notintoexcel11_0-1713954904484.png

My present calculated measure for MTD is giving me wrong data.
I do not have any master date table that is connected to the pending and billing data tables. Do I need to create that relationship as well? 

 

    

Hi,

8998/100036 is 8.9% and that is what you have in the green box.  So what is the problem?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

As and when I select the plant code, you can see as in the figure below, I have selected bangalore code with division code as 30, but the data considered in billing is for division 20 for bangalore. How do I incorporate that in my MTD calculation

notintoexcel11_0-1713955962782.png

The code for MTD% currently being used =

notintoexcel11_1-1713956024653.png

 



 

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

Share some data to work with and show the expected result.  Share data in a format that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Solution Authors