Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Prasad23
Frequent Visitor

Current Quarter and Next Quarter

 Hi Team,

 

please help me to get Current quarter sales and Next quarter sales. And i also want to show Quarter names in card(Like Q4 is current quarter and Q1 is next Quarter). Fiscal Year starts from April.

 Like; April,May,june:- Q1
        July, Aug, Sep ;- Q2
       Oct,Nov, Dec :- Q3

       Jan, Feb,Mar:- Q4

Here we are not using any Slicer selections.

 

I have date column which contains  data upto 2025.


 

Regards,
Prasad.

3 REPLIES 3
nareshr89
Helper II
Helper II

CurrentQTR =
var month = MONTH(NOW())
var curqtr = IF(MONTH In {1,2,3},"Q4",IF(MONTH In {4,5,6},"Q1",IF(MONTH In {7,8,9},"Q2",IF(MONTH In {10,11,12},"Q3"))))
RETURN curqtr
 
NextQTR =
var month = MONTH(NOW())
var curqtr = IF(MONTH In {1,2,3},"Q4",IF(MONTH In {4,5,6},"Q1",IF(MONTH In {7,8,9},"Q2",IF(MONTH In {10,11,12},"Q3"))))
var nxtqtr = IF(curqtr="Q1","Q2",IF(curqtr="Q2","Q3",IF(curqtr="Q3","Q4",IF(curqtr="Q4","Q1"))))
RETURN nxtqtr

 

Try to add a column in calender table

Quarter = IF('Calendar'[DATA].[MonthNo] In {4,5,6},"Q1",IF('Calendar'[DATA].[MonthNo] In {7,8,9},"Q2",IF('Calendar'[DATA].[MonthNo] In {10,11,12},"Q3","Q4")))
 

Hi @nareshr89 ,

 

Quarter name works well and i need,
Current quarter sales.& Next Quarter sales
For Current Quarter i have wrote a dax like this:
please correct me it is wrong.
Calculate([sales], datesinperiod(Table[date], today(),0,Quarter)).

 and i require for next quarter also.

 

Regards,
Prasad

Hi, @Prasad23 

for next full quarter use  PARALLELPERIOD()

next quarter =
    Calculate(
       [sales],
       PARALLELPERIOD(Table[date], +1,Quarter)
    )

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.