Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
95 | |
86 | |
78 | |
66 |
User | Count |
---|---|
151 | |
121 | |
111 | |
107 | |
95 |