The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
I am working on a report build where the owners want to see card visuals showing Average Monthly Revenue for the last two full years and the current year. I created a measure which I beleieve is working for the full year of 2022 and 2023. I believe this is saying sum the Revenue (which I have restricted to each year on the card visual, then divide by 12 months).
Solved! Go to Solution.
Hi @emma313823
You can use this to calculate your Avg Monthly Revenue up to the end of the previous month in the current year
AvgMoRevCurrYear = DIVIDE(CALCULATE(SUM('DataTable'[Value]), FILTER('DataTable', 'DataTable'[Date] < EOMONTH(TODAY(),-1))) , (MONTH(TODAY())-1), 0)
Regards
Phil
Proud to be a Super User!
Hi @emma313823
You can use this to calculate your Avg Monthly Revenue up to the end of the previous month in the current year
AvgMoRevCurrYear = DIVIDE(CALCULATE(SUM('DataTable'[Value]), FILTER('DataTable', 'DataTable'[Date] < EOMONTH(TODAY(),-1))) , (MONTH(TODAY())-1), 0)
Regards
Phil
Proud to be a Super User!
User | Count |
---|---|
80 | |
74 | |
41 | |
30 | |
28 |
User | Count |
---|---|
107 | |
96 | |
53 | |
47 | |
47 |