The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
User | Count |
---|---|
13 | |
8 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
13 | |
8 | |
8 |