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

Don'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.

Reply
shekhar_shres
Advocate II
Advocate II

Using Blank Query to Identify Max Quarter in Dates table

Hi all, we are all aware of classic dates table in Power BI. Following is just an example

shekhar_shres_1-1620803484825.png

 

 

I want to be able to extract Max Quarter in 2021 in a blank query.

I tried List.Max(Date[Quarter]), however, I got 4 because the max quarter for that column is 4 (Year 2019 and 2020 are full year, so obviously 4 is the max quarter). How do I pull the max quarter for year 2021 (which is 2) using a blank query?

Thank you

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

From a blank query:

= Table.Max(TableName, "Date")[Quarter]

 

--Nate

View solution in original post

1 REPLY 1
Anonymous
Not applicable

From a blank query:

= Table.Max(TableName, "Date")[Quarter]

 

--Nate

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors