Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All,
I am trying to join and summarise data from multiple tables.
Currently i have the below DAX to create my summary table, however, i also want to be able to add the LAST mateiral desc from a seperate table.
The [Material Desc] belongs in the 'BOM' table. However, this table can table can have multiple values of [Material Desc] and multiple rows for [Material] exist in the table
I would like to select the last [Material Desc] by [PurchDate] and add it to the query.
Any help?
@Jtbonner1986 , One way take lastnonblank or use lastnonblankvalue
SUMMARIZE(combineTable,LineOfBalance[Material], "Desc", lastnonblank(LineOfBalance[Material]) , [PLN], [REQ] )
SUMMARIZE(combineTable,LineOfBalance[Material], "Desc", lastnonblankvalue (LineOfBalance[Date], LineOfBalance[Material]) , [PLN], [REQ] )
The [Material Desc] is not in the 'line of balance table' but it is in the 'BOM' table. which has no relationship
User | Count |
---|---|
81 | |
75 | |
73 | |
42 | |
36 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |