Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I have DocumentID, LineNo and Amount as columns.
I want to sum all DocumentID's Amount that have a specific expression on LineNo. The result from the picture should be the sum of blue values, because only does DocumentIDs have "test1" on LineNo.
Solved! Go to Solution.
Aha, then try this:
I used some simplified data like below:
makes sense?
No, this measure will sum only rows with "test1". This will sum only green rows, I need to sum blue rows.
try to create a measure with the code below:
This is just a sample. I have millions of documents and I don't know which one of them has "test1" on LineNo.
Aha, then try this:
I used some simplified data like below:
It works! Thank you!
Only in the last chat, came I to understand your expection. The requirement clarification is soooo important.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
7 | |
5 | |
4 | |
3 |
User | Count |
---|---|
13 | |
11 | |
9 | |
8 | |
8 |