Showing results for 
Search instead for 
Did you mean: 
Post Prodigy
Post Prodigy

Highest Sales week

I have a matrix that shows me the sales for each week.

Now I would like to add a second column that shows me the best week/ the highest sales.

But how?

Community Support
Community Support

Hi @joshua1990 ,


The highest sales:

MAXX(FILTER(ALL(Table),[week]=SELECTEDVALUE([week])),[sales each week])

The best week:

CALCULATE(MAX([week]),FILTER(ALL(Table),[sales each week]=[highest sales]))

If I misunderstand your meaning, please show some sample data and expected result to us.


Best Regards,


Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Super User
Super User

Some example data and expected results would make this much easier to answer.


How to Get Your Question Answered Quickly

Helpful resources

2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors