Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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
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 |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |