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.
How to create the calculated columns like break, production which contains only break time, production using the below mentioned data against each user.
User Name | Task Type | Actual Handling Time (min) |
anandhu.krishna.v.s | Production | 32.1667 |
anandhu.krishna.v.s | OtherProductive | 30.5 |
anandhu.krishna.v.s | Break | 30 |
anandhu.krishna.v.s | Break | 30 |
anandhu.krishna.v.s | Production | 448.2167 |
prasanth.k.e | Production | 300.9833 |
prasanth.k.e | Production | 187.1833 |
prasanth.k.e | Production | 0.2 |
prasanth.k.e | Break | 60.45 |
prasanth.k.e | OtherProductive | 18 |
Solved! Go to Solution.
Calculated columns don't achieve this effect, you can instead use PowerQuery's pivot function to achieve it.
For example:
Then get the result you want.
Finally, just load into PowerBI.
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
User Name | Production | OtherProductive | Break |
anandhu.krishna.v.s | 480.3834 | 30.5 | 60 |
prasanth.k.e | 488.1666 | 18 | 60.5 |
I need to have data in the above format in the calculated columns
Calculated columns don't achieve this effect, you can instead use PowerQuery's pivot function to achieve it.
For example:
Then get the result you want.
Finally, just load into PowerBI.
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
Hi @Prasanthke ,
Is this what you wanted?
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
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 |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |