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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
df123445
Helper II
Helper II

How to select current quarter

I have a table with 2 columns for start and end date that have the start and end quarter date

 

Customergoalstart dateend date
123201/01/202401/03/2024
456301/10/202401/12/2024
789201/01/202501/03/2025
456201/01/202501/03/2025

 

is there a way to automatically select the current quarter? 

 

TIA 

1 ACCEPTED SOLUTION

@df123445 

you can try this to create a column

Column = "Q"&QUARTER('Table'[start date])&" " & year('Table'[start date])
11.png




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
ryan_mayu
Super User
Super User

@df123445 

what do you mean by select the current quarter?

I didn't see any date related to current quarter in your sample data. 

could you pls elaborate more on this? what's the expected output based on the sample data you provided





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




yes, so the data is not formally correct but that's how it is, so 

 

Customergoalstart dateend dateCustomergoalstart dateend dateWHAT IT MEANS 
123201/01/202401/03/2024123201/01/202401/03/2024Q1 2024
456301/10/202401/12/2024456301/10/202401/12/2024Q4 2024
789201/01/202501/03/2025789201/01/202501/03/2025Q1 2025
456201/01/202501/03/2025456201/01/202501/03/2025Q1 2025

 

The dates are always in that strange format, but they do point to a specific year/quarter.

 

I would like either to select the current quarter during import

 

TIA 

@df123445 

you can try this to create a column

Column = "Q"&QUARTER('Table'[start date])&" " & year('Table'[start date])
11.png




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.