Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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]
)
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
49 | |
26 | |
21 | |
15 | |
12 |
User | Count |
---|---|
57 | |
49 | |
44 | |
19 | |
18 |