average by other column
4 TopicsCount of Groups with Average Score Above 6, Possibly GROUPBY Average
I have a table that has Group, Sales Person, Service Score. I am trying to find a way to calculate the average Service Score by Group and then Count the number of Groups that have an Average Service Score above 6. I have tried to figure out a way to use SUMMARIZE or GROUPBY to make this happen but those functions are new to me and I can't seem to get them to work. Below is an example of the table. Group Employee ID Service Score Group A 001 5 Group B 002 10 Group C 003 7 Group A 004 3 Group C 005 6 I know I can make a table that shows the average score by group but what I need is the count of Groups with an average score over 6 because my end metric is Percentage of Groups with an average Service Score above 6. In this example Group A average score = 4, Group B average score = 10, and Group C average score = 6.5 so Count of Groups with average score above 6 = 2 and percentage of Groups with average scores above 6 = 67% (2/3)Solved884Views0likes3CommentsGet the average of a column value based on total count of values in ID column
Hi, In a table i have column called "Object" which runs multiple times in a day and that runtime is captured in "StartTime" & "EndTime" columns, and the difference between the start and end time is captured in the "Duration" Column. Each object will be having multiple runid's which is captured in "RunID" column which is a unique value. For eg: Object AAA has two runid's called "111,222" and Object BBB has one runid called "333". Now i would like to get the average of each duration by count of that particular runid which is captured in "New Duration" column. For eg: The count of 111 runid is '10'. so for all those durations with runid 111 should be divided by the 10. The count of 222 runid is '6'. so for all those durations with runid 222 should be divided by the 6. The count of 333 runid is '8'. so for all those durations with runid 333 should be divided by the 8. Sample screenshot for above query: So since my Duration is "10" and total count of runid (111) is 10. So 10/10=1 that is my newduration.Similarly for all durations with runid's 111 should be divided bt 10. How to achieve this using DAX query?? I am connecting to this table in powerbi via SQL direct query mode. Thanks.Solved1.1KViews0likes2CommentsI want to Average multiple columns but ignoring any zeroes or blanks
Hello Everyone, I am looking for a solution as shown in the table above in PowerBI, I want to create a new column that prints average of these 4 columns but only if they have a non-zero/non blank value. I.e. the answer for first row should not be ((0+0+5+0)/4) instead just (5/1) since rest of the columns are empty. Any replies would be much appreciated, thanks.Solved1.8KViews0likes2CommentsDAX Average based on text - AVG grouped by other column value
Hi! I'm certain that there is an answer to this that I've stumbled upon before. But after almost 2 days of searching (probably my searching skills that are lacking) I'll have to post a question. I have a table where two of the columns are Region and Status. What I'd like to do is to create a DAX which calculates the average count of "Status" per "Region" as well as total. In other words the end result (that I want to have as a visualization) should be: Not started Completed Delayed Europe 66% 33% Asia 100% Africa 50% 50% Latin America 100% Total 25% 62,5% 12,5% Region Status Europe Completed Europe Delayed Asia Not Started Europe Completed Africa Not Started Latin America Completed Latin America Completed Africa Completed Thanks in advance!Solved1.2KViews0likes2Comments