Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
So i am unable to execute a query to determine the average of a filed. explanation as follows
I have 'OpenDate' - which represents the case open date with the time and 'ResolveDate' - which represents the date & time when the case is resolved. I have created a filed - 'Resolvetime' as a new measure in POWERBI which shows the "average time taken to resolve in minutes" for a paticular ticket.
The formula for the above mentioned is "Resolvetime = DATEDIFF(SUM('Call Request Detail'[OpenDate]),SUM('Call Request Detail'[ResolveDate]),MINUTE" which works fine.
Now i would like to determine the averge 'Resolvetime' for all the tickets within a particluar time frame i.e. 'OpenDate' and 'ResolveDate'. To determine the average i used the below mentioned formula
"Average = AVERAGE((DATEDIFF(SUM('Call Request Detail'[ResolveDate]),SUM('Call Request Detail'[OpenDate]),HOUR)))"
Upon using the formula i am getting the follwing error message
I used the formula because i created the field 'Resolvetime' in PowerBI not in the Datawarehouse as i don't ahve access to change anything in the warehouse. there's a team to do them functions.
So, can anyone help me to determine the average of 'Resolvetime' ?
I am assuming the follwing reasons for the error message
can someone please advice me on this issue. It is my first week at internship and i am feeling frustrated.
Solved! Go to Solution.
Hi @Anonymous,
Please refer to this similar thread, you could have a reference of the solution of v-shex-msft first.
In addition, we could change data type in Power BI under modeling tab.
If you still need help, please share some data sample and your desired output, so that we can help further investigate on it?
Best Regards,
Cherry
Hi @Anonymous,
Please refer to this similar thread, you could have a reference of the solution of v-shex-msft first.
In addition, we could change data type in Power BI under modeling tab.
If you still need help, please share some data sample and your desired output, so that we can help further investigate on it?
Best Regards,
Cherry
Thanks, I have escalated the issue to the warehouse team and they are creating a cube in the warehouse.
Thanks for the help tho
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 40 | |
| 35 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 71 | |
| 70 | |
| 38 | |
| 35 | |
| 23 |