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
Mannai
Helper I
Helper I

Total to Date Vs Total by the end of the month

Hello everyone !!

So i'm currently working in a HR database where i need to show total entry by today and for the rest of the month
FOR EXAMPLE : 16/02/2022 we have 14 new employees And by the end of the month which is 28th of february the cumulative total will be 25. I tried to calculate it with ENDOFMONTH() but when i put my slicer to the 16th of february it shows the same SUM which is 14 in both cards

Thanks for your time 🙂 

1 ACCEPTED SOLUTION
Mannai
Helper I
Helper I

Thank you for your response 
 i actually resolved using this method :

Terminated by end of month =
 
CALCULATE( 'effectif total'[Terminated Employees],DATESBETWEEN('Date'[Date],MIN('Date'[Date]),MAX('Date'[End of Month])))

and when i filter i get the correct numbers

View solution in original post

2 REPLIES 2
Mannai
Helper I
Helper I

Thank you for your response 
 i actually resolved using this method :

Terminated by end of month =
 
CALCULATE( 'effectif total'[Terminated Employees],DATESBETWEEN('Date'[Date],MIN('Date'[Date]),MAX('Date'[End of Month])))

and when i filter i get the correct numbers
amitchandak
Super User
Super User

@Mannai , with help from time intelligence

MTD and full month

examples

MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))

 

This month Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD(ENDOFMONTH('Date'[Date])))

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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

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.