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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi community!
I have a simple table with this structure:
| Order | Article | Value |
| 100 | A | 4 |
| 100 | B | 5 |
| 100 | C | 6 |
| 101 | A | 5 |
Now I would like to add an additonal column the shows me per Order the number of articles.
But how?
Solved! Go to Solution.
[# Articles] = // calc column
var OrderId = T[OrderId]
return
COUNTROWS(
SUMMARIZE(
FILTER(
T, // name of the table
T[Order] = OrderId
),
T[Article]
)
)
[# Articles] = // calc column
var OrderId = T[OrderId]
return
COUNTROWS(
SUMMARIZE(
FILTER(
T, // name of the table
T[Order] = OrderId
),
T[Article]
)
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 9 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 27 | |
| 22 | |
| 20 | |
| 18 | |
| 12 |