The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
21 | |
12 | |
10 | |
7 |