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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.