Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi Everyone,
I need your help to solve a problem that I am facing.
I have two columns which have time based value as shown in the picture:
I found their difference using the formula Duration.ToText([Reached Merchant]-[Assigned At])), I got the result as follows:
Now in order to find average of "Avg store reach time", I made a new measure as follows:
Solved! Go to Solution.
Hi @Anonymous
try a measure
Measure = format(calculate(averagex('Table',TIMEVALUE('Table'[Avg store reach time]))),"HH:MM:SS")
or
Measure = format(averagex('Table',TIMEVALUE('Table'[Avg store reach time])),"HH:MM:SS")
depends on business logic
Hi @Anonymous
try a measure
Measure = format(calculate(averagex('Table',TIMEVALUE('Table'[Avg store reach time]))),"HH:MM:SS")
or
Measure = format(averagex('Table',TIMEVALUE('Table'[Avg store reach time])),"HH:MM:SS")
depends on business logic
Hi @az38
Thank you for your help. It worked for me.
Is it ok if I can contact you for any future help?
@Anonymous
anytime. new threads, private messages, Linkedin.
the same about the Community - there are a lot of great users passionate to help you
Thank you so much for the support.
Actually I am a little new to Power BI and hence facing another problem.
I used the below measure to find the top 5 riders:
@Anonymous
if I understand you correct you need a measure like
C = calculate(countrows(Sheet1), ALLEXCEPT(Sheet1, Sheet1[Rider]))
it will give you a countrows for each rider independ on his rank, so you can display it in visual without any additional actions from your side
Actually I want total orders done by only these riders:
Now counting the number of orders done by each of these 5 guys only is what I want.
Count of orders is a seperate measure:
Hi @Anonymous ,
"Avg Store reach time" is of STRING datatype because your calculation as below returns a text type of value:
Duration.ToText([Reached Merchant]-[Assigned At]))
Thanks,
Pragati
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.