Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
I need to calculate the maximum sales by any account in a user-specified geography, excluding the account in the filter or in the row. I have an expression that works but its very sluggish and I wonder if there's opportunity for optimization.
When I tried to use the regular MAX, it appeared limited to row values and would not return an aggregate max. For example, it worked fine at the zip code level, but when I viewed by state, it was still returning the maximum value of an account's sales at the zip code level rather than returning the maximum aggregate sales by account in a state.
Here's what I am using now. Any thoughts?
Hi, @Mainer04401
Please check whether these related threads help.
https://powerpivotpro.com/2014/01/another-way-to-find-the-top-performing-thing/
https://powerpivotpro.com/2017/09/dax-reanimator-series-top-performers-using-summarize/
Best Regards,
Community Support Team _ Eason
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
126 | |
113 | |
74 | |
65 | |
46 |