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 all,
I am looking at creating a stacked bar graph in PBI for each agent using duration (similar to the excel screenshot below). However when I do add duration to the x-axis, count is my only display option.
What I am trying to recreate:
Excel:
Y-Axis = Agent Name, X-Axis = Status by duration.
PBI:
In the source data, I have converted each field from milliseconds to duration using the following custom column.
And ensured the format is in time format
What I am getting:
I'm assuming it's possible, but it's obviously not quite as simple as my brain would like.
Any help here would be amazing! Sorry, I'm unable to share data.
Thanks so much
Solved! Go to Solution.
@Auski , Have time in second. Use new dynamic string format and give this format and use
""""& QUOTIENT([net],3600) &":" & QUOTIENT(Mod([net],3600),60) &":" & round(MOD(Mod([net],3600),60),0) &""""
Here net is measure in second I converted for format time
@Auski , Have time in second. Use new dynamic string format and give this format and use
""""& QUOTIENT([net],3600) &":" & QUOTIENT(Mod([net],3600),60) &":" & round(MOD(Mod([net],3600),60),0) &""""
Here net is measure in second I converted for format time
@amitchandak You my friend are a genius. Thank you very much for that. I doubt I would have even considered dynamic string format as a solution as it wasn't even activated in the settings.
So, this is undoubtably the solution as per screenshot below, however the x-axis doesn't like the format. Do you know if there is a work around here.... or do you think I might have done something wrong down the line?
Of course I can simply turn off the axis and get a satisfactory result, but might be helpful for anyone in future.
Thank you again!!
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 |
---|---|
99 | |
99 | |
80 | |
77 | |
66 |
User | Count |
---|---|
134 | |
106 | |
105 | |
86 | |
72 |