Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
joshua1990
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?

2 REPLIES 2
Anonymous
Not applicable

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,

Jay

AlexisOlson
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

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.