Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |