Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I'm trying to create a production capacity forecast model, where the main fact table contains sales forecast data and several dimension tables contain data on our production plants' production capacity and machine quantities. The main takeaways of the model are as follows.
Fact Table attributes:
MachineUtilization:
MachineQuantities:
What I'm trying to achieve is a graph that shows how many days of use we are forecasting on each machine type at each plant against how many days of machine capacity we have at each plant, all by machine type. The issue I'm having is that we have 7 machine types across all of our production plants, and each machine type can be considered a primary or a secondary machine for any plant-part pairing. I've created a primary and a weak relationship between the machine utilization table from the plant-primary machine type and the plant-secondary machine type to the plant-machine type in my machine quantity table, but I don't know how to sum up the machine days used by the secondary machines (on the weak relationship). Please advise, and thank you for reading this far! Below I've included screenshots of my current model and of what our desired output is (taken from an existing Excel model I'm trying to recreate in BI).
Solved! Go to Solution.
Hi,
I was able to solve the issue by creating a series of inactive relationships and using the "USERELATIONSHIP" DAX function to get what I needed. I didn't want to upload any files because the data set was pretty elaborate and there was a lot of sensitive information in my file. Thanks for the response.
Hi @Anonymous ,
To help us better understand your requirement, please simplify the data model and relationship, just provide some dummy data which can reproduce the same sceanrio. Also, please show details for calculation and desired result.
How to Get Your Question Answered Quickly
Regards,
Yuliana Gu
Hi,
I was able to solve the issue by creating a series of inactive relationships and using the "USERELATIONSHIP" DAX function to get what I needed. I didn't want to upload any files because the data set was pretty elaborate and there was a lot of sensitive information in my file. Thanks for the response.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |