Forum Discussion
Vladas
7 years agoFrequent Visitor
Summarizing data from two different table
Hi, I have two tabels: 'Items' with [ItemId] and 'Sale' with [ItemId] [SalesQty] and [SalesDate]. Relationship is created via [ItemId] I would like to create one summarized tabel with c...
- 7 years ago
Hi Vladas,
New a calculated table with below formula:
Table = SUMMARIZE ( Items, Items[ItemID], "Total SalesQty", SUM ( Sale[SalesQty] ), "LatestDate", LASTDATE ( Sale[SalesDate] ) )Best regards,
Yuliana Gu
v-yulgu-msft
7 years agoMicrosoft Employee
Hi Vladas,
New a calculated table with below formula:
Table =
SUMMARIZE (
Items,
Items[ItemID],
"Total SalesQty", SUM ( Sale[SalesQty] ),
"LatestDate", LASTDATE ( Sale[SalesDate] )
)
Best regards,
Yuliana Gu
- Vladas7 years agoFrequent Visitor
Thanks for help! I had a problem with relationships.