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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Sticks
Regular Visitor

Return second max date based criteria

Hi all,

I am trying to return the second max date that a customer has purchased goods. In my fact table all customers have one of three values 1)in-active, 2) active, 3) partially active for each quarter. What I want to do is return the quarter start date (also in fact table) for the second max quarter (have already worked out latest quarter) that the customers status is either active or inactive?

Cheers
1 REPLY 1
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @Sticks,

 

Can you share a sample please? The dummy pbix file would be great. I think you need a independent date table.

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors