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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hello, I need help. I have calculated column "Pending Days" which calculates mins to d:hh:mm:ss format.
Ex - 1 day 06:20:12, I want to split it to 1.
input output
| 1 day 06:20:12 | 1 |
| 23 day 05:20:12 | 23 |
Solved! Go to Solution.
Hi @Shree_185
Try this code to add a new calculated column:
New Column =
Var _A = LEN([input])
return
left([input],_A-13)
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
Hi @Shree_185
Try this code to add a new calculated column:
New Column =
Var _A = LEN([input])
return
left([input],_A-13)
Output:
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 129 | |
| 104 | |
| 56 | |
| 39 | |
| 31 |