Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi Team,
I have implemented last year financial Logic and thats workong fine till last week, but all of the sudden its showing the blank results can you please help me her.
I have attached the Pbix file also please check.
https://drive.google.com/file/d/1GpnxSzEFyz6ZqeKJH5w-2Xce_29J8qpR/view?usp=drive_link
Thanks.
Solved! Go to Solution.
Hi @Jilanisk29 ,
I looked at your pbix file, your AAW N Sales FYTD Main medium month is only valid for the current year.
The following DAX might work for you:
AAW N Sales FYTD Main = CALCULATE(
[Sales] ,
// FILTER(
// tbl_Dim_Date,
// // tbl_Dim_Date[Date] <= EOMONTH( TODAY (), -1 )
// ),
// // DATESYTD(tbl_Dim_Date[Date], "30/4" )
DATESBETWEEN ( tbl_Dim_Date[Date], 30/4, EOMONTH(TODAY (), -1))
)
AAW N Sales LYTD - CM =
CALCULATE (
[AAW N Sales FYTD Main],
SAMEPERIODLASTYEAR (
INTERSECT (
VALUES ( tbl_Dim_Date[Date] ),
DATESBETWEEN ( tbl_Dim_Date[Date], 1/5, EOMONTH( TODAY (), -1 ) )
)
)
)
The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Jilanisk29 ,
I looked at your pbix file, your AAW N Sales FYTD Main medium month is only valid for the current year.
The following DAX might work for you:
AAW N Sales FYTD Main = CALCULATE(
[Sales] ,
// FILTER(
// tbl_Dim_Date,
// // tbl_Dim_Date[Date] <= EOMONTH( TODAY (), -1 )
// ),
// // DATESYTD(tbl_Dim_Date[Date], "30/4" )
DATESBETWEEN ( tbl_Dim_Date[Date], 30/4, EOMONTH(TODAY (), -1))
)
AAW N Sales LYTD - CM =
CALCULATE (
[AAW N Sales FYTD Main],
SAMEPERIODLASTYEAR (
INTERSECT (
VALUES ( tbl_Dim_Date[Date] ),
DATESBETWEEN ( tbl_Dim_Date[Date], 1/5, EOMONTH( TODAY (), -1 ) )
)
)
)
The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank You So mUch this is my Solution 🙂
HI Team,
Here Our Financial Year Start with May 2023 to April 2024 (This is current year).
Lasy year Financial Year Start with May 2022 to April 2023 (This is last Fianacial year)
here i am calculating exactly mactiching with with current financial year date range except Current Month i.e (2022 May to 2022 Dec )
Thanks
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
90 | |
89 | |
79 | |
70 | |
68 |
User | Count |
---|---|
226 | |
129 | |
119 | |
84 | |
77 |