Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I'm having an issue getting the QTY for each unique ID combo using a meassure. Is there any help?
Current Code:
QTY_ = SUMX(FILTER(table1(ID1)=MAX([ID1]) && Table 1(ID2)=MAX([ID2])),[QTY_])
Solved! Go to Solution.
Hi, @Jorjor
You can try the following DAX expression:
QTY_Combined =
SUMX(
SUMMARIZE(
'Table',
'Table'[ID1],
'Table'[ID2],
"TotalQty", SUM('Table'[QTY])
),
[TotalQty]
)
Then put it in view, here is my preview:
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Jorjor
You can try the following DAX expression:
QTY_Combined =
SUMX(
SUMMARIZE(
'Table',
'Table'[ID1],
'Table'[ID2],
"TotalQty", SUM('Table'[QTY])
),
[TotalQty]
)
Then put it in view, here is my preview:
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |