TRIMMEAN
Anonymous Nope, that's exactly what this calculation is doing if you set the __Percent variable to .1.
Sorry, TRIMMEAN is one nasty function in DAX...
This thread has some good stuff from ImkeF: Solved: Replicating TRIMMEAN in DAX - Microsoft Power BI Community
Thank you for your response! I'll give it a shot. What do you recommend if I would need further assistance?
- Greg_Deckler5 years ago
Community Champion
Anonymous Just shoot me a note. I designed the formula so that the only thing you should have to mess with is the __Table variable and the __Percent variable. In theory...
- Anonymous5 years agoNot applicable
Hi Greg,
Thank you! I plugged in your formula and I'm getting closer! However, getting an error related to Column cannot be found or may not be used in this expression. It's on "CumulativeTopCount," "CumulativeBottomCount" and "Value." I have looked up the error, but don't see anything awry. Any ideas, please? Thanks again!
- Greg_Deckler5 years ago
Community Champion
Anonymous Oi! You need to use DAX formatter so that I can decipher what is going on in the formula: https://www.daxformatter.com/
At first blush, you seem to be missing an ADDCOLUMNS in your RankTable calculation. The underlined columns can't be used until the ADDCOLUMNS is finalized, which is the reason for the double ADDCOLUMNS logic in RankTable VAR.