Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi All,
I want to replicate the following excel formula into powerbi:
(sales revenue/(Num. of days per month)*365)/AVERAGE of sales between current month and one before
I have this measure which works fine but does not take average of sales between current month and one before, but just sales of current month. Also, does not use number of days per month/365 but just 12 instead, so for some months is not entirely accurate.
I would like to display this annualised measure in a line chart per client type A and B.
I have tried adding client type for column series to no avail so thinks it needs to be embedded inside the measure?
Appreciate any help!
Hi @Gus_C ,
Could you pls provide some sample data with expected output for test?
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
would like to add, my dataset contains a column for number of days per month, so wondering how I can integrate this into my measure. Thanks!
Hi @Gus_C ,
Is your issue solved now?
Best Regards,
Kelly
Did I answer your question? Mark my reply as a solution!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
87 | |
82 | |
71 | |
49 |
User | Count |
---|---|
143 | |
124 | |
107 | |
60 | |
55 |