Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Virtual_Table = SUMMARIZE(SALES_TABLE,SALES_TABLE[ITEM],"SALES_AMT",SUMX(SALES_TABLE,SALES_TABLE[UNIT PRICE]*SALES_TABLE[QTY]))
Sales_Table (already in Power BI):
Desired Result:
However, I am getting this output:
Solved! Go to Solution.
@panatb Use this instead:
Virtual_Table =
ADDCOLUMNS(
SELECTCOLUMNS( SALES_TABLE, "ITEM", [ITEM] ),
"SALES_AMT", [UNIT PRICE] * [QTY]
)
@panatb Use this instead:
Virtual_Table =
ADDCOLUMNS(
SELECTCOLUMNS( SALES_TABLE, "ITEM", [ITEM] ),
"SALES_AMT", [UNIT PRICE] * [QTY]
)
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
6 |