Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello people,
I need a DAX command that adds up the individual production times of different production steps for different products and outputs them summarized in a column.
Here in the table I have created a small schematic example.
Thanks a lot for your help!
Product | Protuction time (for this step) [h] | Total production time |
1 | 3 | 10 |
1 | 5 | 10 |
1 | 2 | 10 |
2 | 4 | 8 |
2 | 4 | 8 |
3 | 3 | 9 |
3 | 6 | 9 |
Greetings Lukas
Solved! Go to Solution.
https://www.dropbox.com/s/voqap7cojyjpp7h/keluv4.pbix?dl=0
Now I have tried to calculate the individual production steps more precisely. Can I add another filter condition to the filter function to get the calculation as shown in the table?
If tryed it with:
Thanks for the help so far!
Product | Production Step | Protuction time | Total production time of M2 |
1 | M1 | 3 | 3 |
1 | M1 | 4 | 3 |
1 | M2 | 2 | 3 |
1 | M2 | 1 | 3 |
2 | M1 | 3 | 4 |
2 | M1 | 3 | 4 |
2 | M2 | 2 | 4 |
2 | M2 | 2 | 4 |
3 | M1 | 5 | 5 |
3 | M1 | 2 | 5 |
3 | M2 | 4 | 5 |
3 | M2 | 1 | 5 |
https://www.dropbox.com/s/voqap7cojyjpp7h/keluv4.pbix?dl=0
new table =
SUMMARIZECOLUMNS (
Data[Product],
"@total production time", SUM ( Data[Protuction time (for this step) [h]]] )
)
https://www.dropbox.com/s/voqap7cojyjpp7h/keluv4.pbix?dl=0
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
9 | |
9 | |
6 | |
5 |
User | Count |
---|---|
19 | |
18 | |
9 | |
9 | |
8 |