Excel PowerPivot: DATEDIFF Function (DAX)
Excel PowerPivot DAX Function & Features
DATEDIFF Function (DAX)
Syntax:
DATEDIFF(<start_date>, <end_date>), <interval>)
Parameters:
start_date: Any DAX expression that returns a datetime value.
end_date: Any DAX expression that returns a datetime value.
interval: The interval to use when comparing dates. The value can be one of the following:
-
SECOND
-
MINUTE
-
HOUR
-
DAY
-
WEEK
-
MONTH
-
QUARTER
-
YEAR
Action:
Returns the count of interval boundaries crossed between two dates.
Excel PowerPivot: CALENDAR Function (DAX)
Excel PowerPivot DAX Function & Features
CALENDAR Function (DAX)
Syntax:
CALENDAR(<start_date>, <end_date>)CALENDAR(<start_date>, <end_date>)
Parameters:
start_date: Any DAX expression that returns a datetime value.
end_date :Any DAX expression that returns a datetime value.
Action:
Returns a table with a single column named “Date” that contains a contiguous set of dates. The range of dates is from the specified start date to the specified end date, inclusive of those two dates.
Convert text to Capital-Case (Capitalizes all the letter in Text) in Excel
- Text Required. The Text want converted to uppercase. Text can be a reference or text string
Here is the result
Convert text to Initial-Case (Capitalizes the first letter in Text) in Excel
- Text Required. Text enclosed in quotation marks, a formula that returns text, or a reference to a cell containing the text you want to partially capitalize.
Here is the result
Using of SUMIFS function in Excel
Find last date of the month in Excel using EOMONTH function
For formatting the number convert date (Shortcut Key Ctrl+Shift+$),
Using LARGE Funtion in Excel
=LARGE(array, k)
The LARGE function syntax has the following arguments:
Array Required. The array or range of data for which you want to determine the k-th largest value.
K Required. The position (from the largest) in the array or cell range of data to return.
Note:
- If array is empty, LARGE returns the #NUM! error value.,
- If k ≤ 0 or if k is greater than the number of data points, LARGE returns the #NUM! error value.


















