DATESMTD, DATESQTD, DATESYTD, TOTALMTD, TOTALQTD, TOTALYTD - DAX Guide

DATESMTD, DATESQTD, DATESYTD, TOTALMTD, TOTALQTD, TOTALYTD - DAX Guide

SQLBI

2 года назад

30,260 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@distrilanalytics
@distrilanalytics - 12.05.2022 13:12

Great sir. Hope to learn more about DAX measures and Practical examples.

Ответить
@naveen200848
@naveen200848 - 12.05.2022 15:32

Hi. Great. How can we change the ytd start and end date. As default it takes calendar quarters. We need to change it for fiscal calendar like 1st feb as start.

Ответить
@sambasivarao576
@sambasivarao576 - 16.05.2022 15:09

Very well explained.

Ответить
@Miche781
@Miche781 - 13.06.2022 17:20

how amazon are these guys

Ответить
@williamarthur4801
@williamarthur4801 - 06.07.2022 17:55

Ciao,
I'm curious about the CALCULATETABLE when the whole is already inside CALCULATE,
I've had a look in ' THE BOOK', and can't find an explanation, if it's very complex please just say so. Richard.

Ответить
@RichArd-ee2qj
@RichArd-ee2qj - 04.01.2023 01:18

Hello, I want to create a comparison of current year to date against previous years.
I've used DATEADD and it works.
-However, I need one of the previous years to be calendar year 2019.
-Using minus 3 worked for year 2022. Now that it is year 2023 I will have to update the formula to minus 4.
How can I filter for year 2019 without having to update my formula annually?
See formula below:

Legend:
Pax = passengers (I'm analyzing commercial aviation data)
'_Calendar'[Date] = date table

Pax YTD 2019 =
IF (
ISBLANK ( [Pax] ),
BLANK (),
TOTALYTD ( [Pax],
DATEADD ( '_Calendar'[Date],
-3, YEAR ) )
)

Thx in advance for you help.

Ответить
@Wzxxx
@Wzxxx - 02.03.2023 17:31

Why date[date] is translated into CALCULATETABLE ( DISTINCT ( <Dates> ) ? I can't find an explanation in the book or on SQLBI? Could someone explain it?

Ответить
@carlosastudillo8450
@carlosastudillo8450 - 14.05.2024 17:45

Muy buena explicación muchas gracias me ayudó en mi reporte

Ответить
@SandipanSarkar-c8v
@SandipanSarkar-c8v - 26.06.2024 20:43

Finished watching

Ответить