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
Eduardo19
Regular Visitor

max sales of specifics month

How can I create a measure to calculate the maximum sale of specific months?

For example: for the months of February, March and April, which was the maximum sale.

 

2 REPLIES 2
Alex_Hasan
Helper II
Helper II
Nathaniel_C
Super User
Super User

Hi @Eduardo19 , Would you please provide us with more detail? Can you share your data tables? I can write a measure for you, but it won't mean much if you have not provide us more detail.  If you have the totals for your months, you could use CALCULATE(MAX(mytable[montlyTotal]) if you had summed your monthly totals already.

If you would share your pbix, or dummy up some values in Excel both for current and expected data. Please copy and paste them into your post, rather than doing a picture, we may be able to help you. 

Please read this post to get your question answered more quickly:

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos 👍are nice too.
Nathaniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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