Forum Discussion
panatb
2 years agoRegular Visitor
Summarize with Sumx
Hi, I am a new to Dax and struggling to achieve the below. Appreciate any help and advice: I have a table with duplicates. I want to create a virtual table with Summarize with Sumx function as below...
- 2 years ago
panatb Use this instead:
Virtual_Table = ADDCOLUMNS( SELECTCOLUMNS( SALES_TABLE, "ITEM", [ITEM] ), "SALES_AMT", [UNIT PRICE] * [QTY] )
Greg_Deckler
Community Champion
2 years agopanatb Use this instead:
Virtual_Table =
ADDCOLUMNS(
SELECTCOLUMNS( SALES_TABLE, "ITEM", [ITEM] ),
"SALES_AMT", [UNIT PRICE] * [QTY]
)