Forum Discussion
Using ALLEXCEPT on calculated table
- 3 years ago
Hi wcd1213 ,
According to your description, here's my solution. Create a calculated column.
Column = AVERAGEX ( FILTER ( 'Calculated Table', 'Calculated Table'[Name] = EARLIER ( 'Calculated Table'[Name] ) ), [M1] )Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi v-yanjiang-msft ,
Thank you for the reply.
I tested this expression and the column is not averaging by name. Is there something else I can add to the formula to acheive this?
Hi wcd1213 ,
I create a sample and it averages by name as expected.
Do you have some difference with me?
I attach my sample below for your reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- wcd12133 years agoFrequent Visitor
Hi v-yanjiang-msft ,
I looked at your sample and i used the same expressions. However the table I am working on is summarized from two other tables.
Here is the expression I used to summarize the columns.
And here is my expression for getting the average.
- v-yanjiang-msft3 years agoCommunity Support
Hi wcd1213 ,
According to your snapshot, isn't 4.2857 the average of the name Will? If not, what the 4.2857 really is.
I recreate a sample like you, and it still get the correct result.
You can download my sample below to see the details.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- wcd12133 years agoFrequent Visitor
4.2857 is the average of all of M1. I just realized my screenshot did not include the next name Joe. That average is the same:
I need the averages to be split between names.