Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Dear all,
I'm new to Power BI/Dax in general so apologize if this might seems obvoious but I couldn't manage to find a way to do it.
I'm working with data related to stock. We have some final products which experience some processes from the raw material to the end, so it is possible to find different stocks of a product in every stage (they are considered as different products, although all of them depend on the final product). What I want to know is the quantity of items we have in stock for each product filtering by customer.
As you can see, I am already calculating the stock we have of final products, but the rest of processes are showing us stock 0.
We have the following related data:
- Stockeuroal (warehouse 1)
- StockTotales (warehouse 2)
- Maestro_Ref (the categories of each code)
- PT (the structure; codes for the products related to the final product while are being processed)
In order to know the stock por each process, we have calculated some measures:
your data model is inside out. Reference tables are dimensions and need to be on the outside of the model. your stock values are facts and need to be at the center of the data model. Also, your components do not depend on the final product - the final product depends on the components.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
217 | |
89 | |
82 | |
66 | |
57 |