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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
uc
Helper II
Helper II

finding end of quarter date using dax

Hello

 

I am not getting any result for the following dax

 

End of Quarter = if([2.5 Year Review Due by] = 30/04/2023 || [2.5 Year Review Due By] = 31/05/2023 || [2.5 Year Review Due By] = 30/06/2023, 30/06/2023, blank())

 

where 2.5 Year Review Due By is a date column with the following dates

30/04/2023

31/05/2023

30/06/2023

 

Can you help please? Not sure why I am not getting results. Thanks

1 ACCEPTED SOLUTION

Hi @uc  happy to help , please consider Accepting it as the solution to help the other members find it more quickly

View solution in original post

4 REPLIES 4
uc
Helper II
Helper II

I did thanks

Ritaf1983
Super User
Super User

Hi @uc 
We have Dax function ENDOFQUARTER for this goal :

Ritaf1983_0-1693566974923.png

In your scenario, it can be 

End of Quarter = if(ENDOFQUARTER([2.5 Year Review Due by] = 30/06/2023, 30/06/2023, blank())

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Hi Rita

 

Thanks for your reply. It works :)!

uc_0-1693571301671.png

 

Hi @uc  happy to help , please consider Accepting it as the solution to help the other members find it more quickly

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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