Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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_CALENDAR'[Current MTD])="MTD"
VAR _REV = SUM('Revenue - CCI'[REV MTD CFY USD])>0
Then I need to put "Current" on all lines that is that current FY and put "Prior 1" for the previous one and "Prior 2" with the next one and so on.
I have this measure so far ..:
So at the end I would like to have like this :
is possible ?
At least for previous FY's just to put -1, -2, etc
Thanks
Solved! Go to Solution.
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.
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 39 | |
| 37 | |
| 29 | |
| 24 |
| User | Count |
|---|---|
| 119 | |
| 100 | |
| 72 | |
| 69 | |
| 65 |