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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
v-jayw-msft
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,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors