Forum Discussion
How to implement Time intelligence on custom columns/measures?
Hi all,
This might be pretty easy for most of us around here but I'm a newbie to the POWER BI platform. Request your help for the below scenario.
I have a date column which is a date hierarchy containing
- Year
- Month
- Quarter
I need to show up, Year, total sale, total previous year sale, etc. I'm able to do this using CALCULATE & SAMEPERIODLASTYEAR function.
But the slicer for Year should show values as FY2020, FY2019, FY2018 for which I've to create a new measure which has resulted in the loss of Time intelligence & the functions used above are not working anymore.
Please let me know if there is any other way of showing up FY2020, FY2019, etc.. & if this is the only way, how can I handle to show the required matrix?
Thanks in advance!
5 Replies
- Greg_DecklerCommunity Champion
A new measure or column? Can you just create a new column in your table, "FY" & [Year] and use that in your slicer?
- aditya_fractalAdvocate II
Greg_DecklerYes, I'm having "FY"&"[Year]" as a column in the table. That's working fine on the slicer but the time intelligence functions do not work anymore.
- Greg_DecklerCommunity Champion
That's weird. Can you post sample data and formulas? Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TITHW/m-p/434008