Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi All,
Please also help me in calcualting value pertains to last date of the Fiscal Year.
Fiscal Year Starts from April to March.
I am using below DAX to get the values as on 31-March, it is calculating the valuse of 31-December (as Jan-Dec Fiscal year by default).
CLOSINGBALANCEYEAR(Values,PREVIOUSYEAR([Date]))
Please suggest DAX to capture values of last date of Custom Fiscal Year not of what defined in Power BI.
Thanks.
@Riteshheda , for year ending 31-march
CLOSINGBALANCEYEAR([measure], dateadd('Date'[Date], -1, year), "3/31")
for year ending 31 dec
CLOSINGBALANCEYEAR([measure], dateadd('Date'[Date], -1, year), "12/31")
Hi Amit,
Thanks, but its only showing value of last date of corresponding Month.
Example, if I select period as March'21, so it is showing the value as on 31-March'2020
But, when I I select period as February'21, then it is showing the value as on 28-Feb'2020, which should not be the case, It should always show the value as on 31-March'2020 only.
I am trying to create a variance with the last year data (Closing balance numbers).
Like
March'21 vs. March'20
Feb'21 vs. March'20
Jan'21 vs. March'20
Dec.20 vs. March'20
Please help in the solution. Thanks for your time.
Hi @Riteshheda
Sorry I don't understand your expected result. Can you share some sample data and expected result in table format? And what visuals are you using? When you select a period, do you want to calculate the total of the values in some periods?
Regards,
Community Support Team _ Jing
User | Count |
---|---|
84 | |
80 | |
69 | |
46 | |
46 |
User | Count |
---|---|
106 | |
50 | |
42 | |
39 | |
39 |