Forum Discussion
grouping, sorting and a drop down list
Hello, I am new to power BI and I need help with a small project. What I have is on the left and what the desired outcome is on the right (see picture)
I have part numbers and I want to know the following information for each part number:
the total qauntity ordered (I want the sum of the data), total cost (sum of data), and finally I want a drop down list that will show me all the PO #'s that go along with that particular part number.
Does this make sense??
Thanks in advance!
Hi baBI123,
It is not possible to add a drop down list as a table column. As a workaround, you could list all "PO#" inside a single cell for each part number. Please create a calculated table using below formula:
SummarizePO = SUMMARIZE ( 'PO Table', 'PO Table'[Part Number], "Total Cost", SUM ( 'PO Table'[Total Cost] ), "Quantity Ordered", SUM ( 'PO Table'[Quantity Ordered] ), "PO list", CONCATENATEX ( 'PO Table', 'PO Table'[PO#], "," ) )Best regards,
Yuliana Gu
3 Replies
- v-yulgu-msftMicrosoft Employee
Hi baBI123,
It is not possible to add a drop down list as a table column. As a workaround, you could list all "PO#" inside a single cell for each part number. Please create a calculated table using below formula:
SummarizePO = SUMMARIZE ( 'PO Table', 'PO Table'[Part Number], "Total Cost", SUM ( 'PO Table'[Total Cost] ), "Quantity Ordered", SUM ( 'PO Table'[Quantity Ordered] ), "PO list", CONCATENATEX ( 'PO Table', 'PO Table'[PO#], "," ) )Best regards,
Yuliana Gu
- baBI123Helper II
THANK YOU SO MUCH v-yulgu-msft !!!!
- baBI123Helper II
Phil_Seamark do you think you can take a look at this? It has to do with the other answer you gave me, but now I am trying to build on that...