Forum Discussion
IBrant
3 years agoFrequent Visitor
If a date falls between dates, return a value
I'm new to Power BI and I'm struggling with what seems like a simple task. I need to sort dates by fiscal year. I've tried to do this a couple different ways. 1. I tried making a differnt column fo...
IBrant
3 years agoFrequent Visitor
I'm trying to create a column for the FY so that I can sort by FY in my visuals. Ideally, the column would return FY22, FY23, etc based on the Date_Onboard. I think creating a column from examples would be a pain as I would need to find specific items that happen to have dates at the farthest ranges of the fiscal years to sort by, correct?
James-ITSavior
3 years agoNew Member
And just noticed it looks like you don't have the FY values created. You can create a calculated COLUMN on the data table and insert this measure. (Update dates to be the Month End Date it appears?)
FY = CONCATENATE("FY",RIGHT(YEAR(Dates[Date]),2))