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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.