Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
help me please. I have a list of organizations from the beginning of the year and their revenue, I need to show the maximum monthly revenue from the selected organization. Let's say I calculated the revenue for the current month, but I want to compare it with the maximum revenue of this organization. For example, in the current month, the revenue is 15, and the maximum revenue they had in February was 30, how to display it?
Solved! Go to Solution.
Hi @DeEviloN ,
Here I create a easy sample to have a test.
Revenue by Month =
CALCULATE(SUM('Table'[Revenue]),ALLEXCEPT('Table','Table'[Year],'Table'[Month]))
Current Month Revenue =
CALCULATE([Revenue by Month],FILTER(ALL('Table'),'Table'[Year] = YEAR(TODAY())&&'Table'[Month] = MONTH(TODAY())))
Max Month Revenue =
MAXX(FILTER(ALL('Table'),'Table'[Year] = YEAR(TODAY())),[Revenue by Month])
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @DeEviloN ,
Here I create a easy sample to have a test.
Revenue by Month =
CALCULATE(SUM('Table'[Revenue]),ALLEXCEPT('Table','Table'[Year],'Table'[Month]))
Current Month Revenue =
CALCULATE([Revenue by Month],FILTER(ALL('Table'),'Table'[Year] = YEAR(TODAY())&&'Table'[Month] = MONTH(TODAY())))
Max Month Revenue =
MAXX(FILTER(ALL('Table'),'Table'[Year] = YEAR(TODAY())),[Revenue by Month])
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Shows this month's revenue, not the maximum
calculate( Maxx(values('Date'[Month Year]) , [Revenue measure]), filter(allselected(Table[Organzation]) , Table[Organzation] = max(Table[Organzation]) ) )
or
calculate( Maxx(values('Date'[Month Year]) , [Revenue measure]), filter(all(Table[Organzation]) , Table[Organzation] = max(Table[Organzation]) ) )
or
calculate( Maxx(values('Date'[Month Year]) , [Revenue measure]), filter(allselected(Table) , Table[Organzation] = max(Table[Organzation]) ) )
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
144 | |
75 | |
63 | |
51 | |
48 |
User | Count |
---|---|
204 | |
86 | |
64 | |
59 | |
56 |