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 have 2 tables with 1:M relation between them. table with phased out material is connected to more than 1 phasing in material as replacement to old material.
example pased out material can be replaced with more than 1 material (BA14800G)
Pahsed out | Phased in |
WCA31823 | WC3455 |
BA14800G | BA1A000L |
BA14800G | CA14A000L |
BA14100G | PA14C0001 |
In Power BI want to display as
but power bi repeating rows as below:
Please suggest if there is a way. Jooin on Phased out colum as available in boht tables.
Regards,
Manveer N
Solved! Go to Solution.
Hi @Anonymous ,
Unfortunately, the current version cannot realize this idea. Please submit your idea.
This is a workaround. If there are multiple rows for each category in your first table, you can try to create the following calculated columns.
Last date = CALCULATE( MAX('Table'[date]), ALLEXCEPT('Table', 'Table'[Phased out material]))
Inventory_Column = CALCULATE( SUM('Table'[Inventory]), ALLEXCEPT('Table','Table'[Phased out material]) )
Schedule_Column = CALCULATE( SUM('Table'[Schedule]), ALLEXCEPT('Table','Table'[Phased out material]) )
order_Column = CALCULATE( SUM('Table'[order]), ALLEXCEPT('Table','Table'[Phased out material]) )
ATP_Column = CALCULATE( SUM('Table'[ATP]), ALLEXCEPT('Table','Table'[Phased out material]) )
Then add the fields in the first table and the Phasing in material field in the second table to the rows of the matrix, like this:
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not use table. should use Matrix table.
HI , Thank you for reply but if you could see the 2nd table screenshot attaced where we have multiple phase in materials against pahse out, so if we display in same table values repeated when using matrix for phaseout material, phase in is fine. and that is misleading.
regards,
Manveer N
Hi @Anonymous ,
Unfortunately, the current version cannot realize this idea. Please submit your idea.
This is a workaround. If there are multiple rows for each category in your first table, you can try to create the following calculated columns.
Last date = CALCULATE( MAX('Table'[date]), ALLEXCEPT('Table', 'Table'[Phased out material]))
Inventory_Column = CALCULATE( SUM('Table'[Inventory]), ALLEXCEPT('Table','Table'[Phased out material]) )
Schedule_Column = CALCULATE( SUM('Table'[Schedule]), ALLEXCEPT('Table','Table'[Phased out material]) )
order_Column = CALCULATE( SUM('Table'[order]), ALLEXCEPT('Table','Table'[Phased out material]) )
ATP_Column = CALCULATE( SUM('Table'[ATP]), ALLEXCEPT('Table','Table'[Phased out material]) )
Then add the fields in the first table and the Phasing in material field in the second table to the rows of the matrix, like this:
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Maybe you can try the matrix visual, and close stepped layout.
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
112 | |
99 | |
82 | |
70 | |
63 |
User | Count |
---|---|
145 | |
111 | |
104 | |
84 | |
64 |