Forum Discussion
cristianml
Post Prodigy
4 years agoCreate generic Measure or column table for wording FY, Previous FY, etc..
Hi, I need help to create a measure o column table that can give me a some wording depending of each Fiscal year. I got the Current FY if this criteria is true: VAR _MTD = MAX('00_CALEND...
- 4 years ago
Hi, cristianml
I simply restore your table data by the method shown below.
Measure:
Current/Prior FY = IF ( SELECTEDVALUE ( 'Date'[Fiscal year] ) = YEAR ( TODAY () ), "Current", IF ( SELECTEDVALUE ( 'Date'[Fiscal year] ) < YEAR ( TODAY () ), "Prior" & "-" & YEAR ( TODAY () ) - SELECTEDVALUE ( 'Date'[Fiscal year] ) ) )Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-zhangti
Community Support
4 years agoHi, cristianml
I simply restore your table data by the method shown below.
Measure:
Current/Prior FY =
IF (
SELECTEDVALUE ( 'Date'[Fiscal year] ) = YEAR ( TODAY () ),
"Current",
IF (
SELECTEDVALUE ( 'Date'[Fiscal year] ) < YEAR ( TODAY () ),
"Prior" & "-"
& YEAR ( TODAY () ) - SELECTEDVALUE ( 'Date'[Fiscal year] )
)
)
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.