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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi All
I am getting a error in caculating Quarters like this
Can you help me identify
Solved! Go to Solution.
@Anonymous
You can create your Quarter Column as follows:
Quarter =
VAR __M = MONTH ( financials[Date] )
RETURN
SWITCH(
TRUE(),
__M IN {1,2,3} , "Q4",
__M IN {4,5,6} , "Q1",
__M IN {7,8,9} , "Q2",
__M IN {10,11,12} , "Q3"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @Anonymous
Noticed that you have resolved your issue by yourself, right? Could you please mark your solution by Accept as solution to help the other members find it more quickly. Thanks in advance!
Best Regards,
Community Support Team _ Caiyun
@Anonymous
You can create your Quarter Column as follows:
Quarter =
VAR __M = MONTH ( financials[Date] )
RETURN
SWITCH(
TRUE(),
__M IN {1,2,3} , "Q4",
__M IN {4,5,6} , "Q1",
__M IN {7,8,9} , "Q2",
__M IN {10,11,12} , "Q3"
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group