Computing MTD, QTD, YTD in Power BI for the current period

  Рет қаралды 24,192

SQLBI

SQLBI

Күн бұрын

Пікірлер: 20
@elrevesyelderecho
@elrevesyelderecho Жыл бұрын
0:00 - 9:22 Intro 9:23 - 22:27 First Technique 22:28 - 35:50 Second Technique ( Calculation Group )
@Lixia123
@Lixia123 Жыл бұрын
This is exactly what I am looking for ! Thanks
@mathew9665
@mathew9665 Жыл бұрын
Nicely done - did I see a show dates with sales measure?!?
@houstonvanhoy7767
@houstonvanhoy7767 6 ай бұрын
2:38 Sales Amount should be outlined in red, not Delivered Amount.
@mtavassoti
@mtavassoti Жыл бұрын
I don't think there are many medium to large size companies that care about calendar month or year. A lot of companies have structured financial calendar that's more every spread and logical. Therefore, I'd like to kindly ask for articles about how to deal with custom/financial calendars rather than built-in calendar calls, please. Thank you so much.
@SQLBI
@SQLBI Жыл бұрын
We have dedicated patterns for that: www.daxpatterns.com/week-related-calculations/ www.daxpatterns.com/custom-time-related-calculations/
@karbonita6464
@karbonita6464 3 ай бұрын
Hi Marco, I want to show in a table the last 13 months of percentage growth in horizontal table. Could MTD option can help me on this or is there another solution?
@SQLBI
@SQLBI 3 ай бұрын
Look at DATESINPERIOD ('Date'[Date], -13, MONTH)
@josol45
@josol45 Жыл бұрын
Excellent, subscribed
@mogarrett3045
@mogarrett3045 Жыл бұрын
excellent thank you for sharing
@hichamezznati2646
@hichamezznati2646 Жыл бұрын
thank you so much for this amazing video . i would like to share 02 ways i found to solve the pb : with and without times intelligence functions. 1) first way : using times intelligence functions for X ∈ {MTD,QTD,YTD} : X Sales Amount= VAR DatesBis= CALENDAR( Date(year(LastTransactionDate),1,1), LastDatewithsales ) return CALCULATE( [Sales Amount], DATESX(TREATAS(DatesBis,'Date'[Date])) ) 2) 2nd way : withoud times intelligence functions + MTD Sales Amount = VAR firstOfCurrentMonth=EOMONTH(LastTransactionDate,-1) + 1 VAR _DatesMTD=CALENDAR(firstOfCurrentMonth,LastTransactionDate) return CALCULATE( [Sales Amount], TREATAS(_DatesMTD,'Date'[Date]) ) + QTD Sales Amount = VAR MonthMod3=MOD(MONTH(LastTransactionDate),3) VAR PathToFirstOfCurrentQuarter=if(MonthMod3=0,-3,-MonthMod3) VAR FirstOfCurrentQuarter=EOMONTH(LastTransactionDate,PathToFirstOfCurrentQuarter) + 1 VAR _DatesQTD=CALENDAR(FirstOfCurrentQuarter,LastTransactionDate) return CALCULATE( [Sales Amount], TREATAS(_DatesQTD,'Date'[Date]) ) + YTD sales Amount= VAR _DatesYTD= CALENDAR( Date(year(LastTransactionDate),1,1), LastTransactionDate ) return calculate( [Sales Amount], TREATAS(_DatesYTD,'Date'[Date]) )
@carltonseymour869
@carltonseymour869 Жыл бұрын
I liked the first method.
@joelluis4938
@joelluis4938 Жыл бұрын
Hi! I've been always thinking about this possibility. I really enjoyed the concept of YoYTD and QoQTD. So this also means that I should only use MoM , QoQ and YoY with periods completed ? For example Oct Vs Sept . But Never Nov as we are in 7 Nov today and Nov is still in progress...
@SQLBI
@SQLBI Жыл бұрын
Look at the measures in DAX Patterns, they restrict the comparison to the number of days for which you have data: www.daxpatterns.com/time-patterns/
@rashmishenai1495
@rashmishenai1495 11 ай бұрын
How would be performance if same calculation is done at database level and just picked in Power BI. Will calculation would be better ?
@SQLBI
@SQLBI 11 ай бұрын
The precalculated values would not by dynamic and based on the filters applied to the report...
@alvarovv9216
@alvarovv9216 Жыл бұрын
Marco Russo > chat gpt 4.0
@shahzadkheros
@shahzadkheros Жыл бұрын
Amazing
@Milhouse77BS
@Milhouse77BS Жыл бұрын
Yay!
Differences between GROUPBY and SUMMARIZE
28:30
SQLBI
Рет қаралды 43 М.
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
$1 vs $500,000 Plane Ticket!
12:20
MrBeast
Рет қаралды 122 МЛН
Best practices for using KEEPFILTERS in DAX
28:24
SQLBI
Рет қаралды 14 М.
Default your Date Time Slicer Selection to a Current Period in Power BI!
10:30
How I Compare YTD, QTD, MTD, WTD & Daily Sales in Tableau
11:15
Andy Kriebel
Рет қаралды 27 М.
My number 1 trick for TIME INTELLIGENCE  | Power BI DAX
11:13
How to Power BI
Рет қаралды 59 М.
Creating a MTD/QTD/YTD Time Intelligence Slicer in Power BI
9:35
Havens Consulting
Рет қаралды 79 М.
How to calculate MTD QTD YTD in Power BI DAX Tutorial (6/50)
15:32
Analytics with Nags
Рет қаралды 179 М.
MASTERING Bar Charts in Power BI | No more Cut Labels
15:34
How to Power BI
Рет қаралды 142 М.
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 284 М.
Using ALLEXCEPT vs ALL VALUES
13:35
SQLBI
Рет қаралды 58 М.
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН