Forum Discussion
BEST SALES MONTH
Busco makes a measurement that shows me the amount of the best billing month to make a comparison with the current month. That is, if the best month was January 2022 with a turnover of 2,581,000.00, it will be maintained until that amount is exceeded.
2 Replies
- lbendlinSuper User
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information or anything not related to the issue or question.
If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523 - AnonymousNot applicable
Hi CSandoval0 ,
You can create two measures to show the max amount and the best month:MaxAmount = Max('YourTable'[amount])MaxDate = CALCULATE( MAX('YourTable'[date]), Filter( 'YourTable', 'YourTable'[amount] = [MaxMount] ) )
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.