The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am trying to get premium value for previous fiscal year and consequently Growth over fiscal year. However, none of the below DAX query giving me correct result.
---------------------DAX to get Premium value for last fiscal year with SAMEPERIODLASTYEAR function--------------------------
For both the above DAX, The result is good if report is viewd against Year in one column
But the DAX fails to give correct result when viewed against Fiscal year, which is a column of fiscal year calender table.
Here the Current FY Premium and Last FY Premium is same, which is not correct.
Can anyone help with where I am getting wrong.
Solved! Go to Solution.
Hi @shailendransit,
I think the time intelligence function may not suitable to work with fiscal date.
Perhaps you can try to use date function to get the current date based on current fiscal date, then you can use this as condition to calculate with previous range records.
Time Intelligence "The Hard Way" (TITHW)
Regards,
Xiaoxin Sheng
Hi @shailendransit,
I think the time intelligence function may not suitable to work with fiscal date.
Perhaps you can try to use date function to get the current date based on current fiscal date, then you can use this as condition to calculate with previous range records.
Time Intelligence "The Hard Way" (TITHW)
Regards,
Xiaoxin Sheng
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 |
---|---|
105 | |
97 | |
81 | |
62 | |
54 |
User | Count |
---|---|
246 | |
119 | |
114 | |
87 | |
70 |