Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi all,
I want to split my finaincal year, which is going from 01.10.YYYY until 30.09.YYYY+1, into two different Seasons. To be more precise into "Summer 21/22" and "Winter 21/22".
The Code which gives me the finanical years like FY 21/22 works quite well.
Solved! Go to Solution.
hi @Till__
try like:
Season =
VAR fy =
IF (
MONTH ( 'Calendar'[Date] ) <= 3,
VALUE ( FORMAT ( 'Calendar'[Date], "YY" ) ) - 1 ,
VALUE ( FORMAT ( 'Calendar'[Date], "YY" ) )
)
VAR _season
IF (
MONTH ( 'Calendar'[Date] ) >=3&& MONTH ( 'Calendar'[Date] )<=8,
"SS ", "FW "
)
RETURN
_season&fy
hi @Till__
try like:
Season =
VAR fy =
IF (
MONTH ( 'Calendar'[Date] ) <= 3,
VALUE ( FORMAT ( 'Calendar'[Date], "YY" ) ) - 1 ,
VALUE ( FORMAT ( 'Calendar'[Date], "YY" ) )
)
VAR _season
IF (
MONTH ( 'Calendar'[Date] ) >=3&& MONTH ( 'Calendar'[Date] )<=8,
"SS ", "FW "
)
RETURN
_season&fy
Thank you! This perfectly works 🙂
For me to work there is only one minor mistake as your code includes march but it should stop in feburary to be FW as written above but this is not important!
MONTH ( 'Calendar'[Date] ) < 3
Thank you so much 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
21 | |
15 | |
14 | |
11 | |
7 |
User | Count |
---|---|
25 | |
24 | |
12 | |
12 | |
11 |