Forum Discussion
Power BI
I'm working on a dashboard with 3 columns I needed which is wait time, state, in network. I want to figure out the avereage wait time people had to wait to see the doctor. How can I accomplish that?
Hi ,
Pls refer the below:
average = FORMAT(AVERAGEX(FILTER(ALL('Table'),'Table'[Column4]="N"),'Table'[Column3]),"HH:NN:SS")
Similar case refer:
https://community.powerbi.com/t5/Desktop/Calculate-an-average-of-wait-times/td-p/1252643
https://www.youtube.com/watch?v=drR6e8eey4M
Best Regards
Lucien
5 Replies
- lbendlinSuper User
Please provide sanitized sample data that fully covers your issue.
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523 - v-luwang-msftCommunity Support
Hi ,
Pls refer the below:
average = FORMAT(AVERAGEX(FILTER(ALL('Table'),'Table'[Column4]="N"),'Table'[Column3]),"HH:NN:SS")
Similar case refer:
https://community.powerbi.com/t5/Desktop/Calculate-an-average-of-wait-times/td-p/1252643
https://www.youtube.com/watch?v=drR6e8eey4M
Best Regards
Lucien
- Stan914Regular Visitor
Hey that didn't work for me.. when I try to add the new measure to the table it says can't display the visual how can I go about that?
- v-luwang-msftCommunity Support
Hi Stan914 ,
Please check your column types to keep them consistent with the ones in my sample.
Best Regards
Lucien