CALCULATE 📊Current, Previous & SamePeriodLastYear | MTD QTD YTD | MoM QoQ YoY In POWER BI Using DAX

  Рет қаралды 40,989

MilEstOne CrEaTor

MilEstOne CrEaTor

Күн бұрын

Hey Everyone Welcome Back to my KZbin Channel "Milestone Creator".
So, today in this video we are going to see how we can calculate:-
Current Month To Date,Current Quarter To Date,Current Year To Date,Previous Month sales,previous quarter sales,Previous Year Sales,Previous Month To Date,Previous Quarter To Date,Previous Year To Date,Same perios last month,Same period Last Year,Same Period Last quarter,Month On Month,Year On Year,Quarter On Quarter,Current, Previous & SamePeriodLastYear | MTD QTD YTD | MoM QoQ YoY POWER BI
Using Time Intelligence DAX Functions
Pbix File:- tinyurl.com/2j...
Data Set:- tinyurl.com/48...
#DAX #powerbi
✅Total_Sales = CALCULATE(sum(Orders[Sales]))
✅Current MTD = CALCULATE(TOTALMTD([Total_Sales],DATESMTD(Orders[Order Date])))
✅Current QTD = CALCULATE(TOTALQTD([Total_Sales],DATESQTD(Orders[Order Date])))
✅Current YTD = CALCULATE(TOTALYTD([Total_Sales],DATESYTD(Orders[Order Date])))
✅Previous Month Total Sales = CALCULATE([Total_Sales],PREVIOUSMONTH(DATESMTD(Orders[Order Date])))
✅Previous Quarter Total Sales = CALCULATE([Total_Sales],PREVIOUSQUARTER(DATESQTD(Orders[Order Date])))
✅Previous Year Total Sales = ✅CALCULATE([Total_Sales],PREVIOUSYEAR(DATESYTD(Orders[Order Date])))
✅Previous MTD = ([Previous Month Total Sales] + [Current MTD])
✅Previous QTD = ([Previous Quarter Total Sales]+[Current QTD])
✅Previous YTD = ([Previous Year Total Sales]+[Current YTD])
✅SPLY MTD = CALCULATE([Current MTD],SAMEPERIODLASTYEAR(Orders[Order Date]))
✅SPLY QTD = CALCULATE([Current QTD],SAMEPERIODLASTYEAR(Orders[Order Date]))
✅SPLY YTD = CALCULATE([Current YTD],SAMEPERIODLASTYEAR(Orders[Order Date]))
------------------------------------------------------------------------------
👋 Additional resources
------------------------------------------------------------------------------
Time Intelligence DAX | Current, Previous & SamePeriodLastYear | MTD QTD YTD | MoM QoQ YoY POWER BI:-
• CALCULATE 📊Current, Pr...
Power Bi Log In With Personal E-Mail ID || ( No Need Of Work/Student-Mail ID ) [ Update-2013 ]:-
• Power Bi Log In With P...
Add POWER to your Titles & Sub_Title in Power BI I| The NEW TRICK you need to know In HINDI:-
• Add POWER to your Titl...
New Features Of Title & Subtitle In Power Bi [ March - 2023 Update ]:-
• New Features Of Title ...
How To Update Your Power Bi Desktop To Latest Version || [👉In 2023 ]:- • How To Update Your Pow...
What's New In POWER BI-March 2023 Release🔥:-
• What's New In POWER BI...
📊 Complete Power Bi interview Q & A For Freshers - [ Latest 2023 ]:-
• 📊 Complete Power Bi In...
What Is DAX - Power Bi ? 📊Complete Introduction🔥:-
• What Is DAX - Power Bi...
DAX Interview Questions and Answers - POWER BI [ Part - 1 ]🔥:-
• DAX Interview Question...
DAX Interview Questions and Answers - POWER BI [ Part - 2 ]🔥:-
• DAX Interview Question...
Super 30 DAX Interview Question & Answer - POWER BI🔥:-
• Super 30 DAX Interview...
Rate Yourself In DAX - POWER BI / Excel 📊:-
• Rate Yourself In DAX -...
Introduction To DAX:-
• Introduction To DAX - ...
DAX Operators and Text / String Functions - Power BI:-
www.youtube.co....
Complete Logical DAX Function In - POWER BI:-
• Complete Logical DAX F...
Complete Date And Time DAX Function In - POWER BI:- • Complete Date And Time...
Complete Math And Statistical DAX Function In - POWER BI:-
• Complete Math And Stat...
DAX Operators and Text / String Functions - Power BI :-
• DAX Operators and Text...
Complete Time Intelligence DAX Function In - POWER BI:-
• Complete Time Intellig...
Complete Filter DAX Function In POWER BI :
• Complete Filter DAX Fu...
🔔 Subscribe to my KZbin channel:-
www.youtube.co....
Social Media Link
--------------------------------
Linkedin:- linkedin.com/in/deepan-kumar-patel-777591202
Facebook:- / dipan.patel.. .

Пікірлер: 53
@jodeleon8
@jodeleon8 7 ай бұрын
Just a suggestion. It would be better using the following sintaxis, for instance: SPLY QTD = CALCULATE( [Current QTD], SAMEPERIODLASTYEAR(DATESYTD(Orders[Order Date].[Date])) ) Is better because it wont generate an error when apply a page filter by category or some other dimension in your model
@amitsundriyal1917
@amitsundriyal1917 Жыл бұрын
Bro maza aa gaya,.... Bhut pareshan tha is DAX k liye.... Thank you bro
@surabhijagadish5210
@surabhijagadish5210 7 ай бұрын
A million thanks for this video. Clearly understood all concepts without any doubt.
@surbhirautaray6872
@surbhirautaray6872 7 ай бұрын
Thank you so much for this level of clarity.
@bklw-g4i
@bklw-g4i 8 ай бұрын
thank you, your video helps me
@ahtishammasood1680
@ahtishammasood1680 9 ай бұрын
Informative in simple manners. Thanks
@mktulsani
@mktulsani 9 ай бұрын
Simply Great 👍 Very Helpful
@pankajkishore2257
@pankajkishore2257 6 ай бұрын
Awesome bhai nice explanation 🎉
@SandipanSarkar-c8v
@SandipanSarkar-c8v 7 ай бұрын
Finished watching
@vitthalchavan7578
@vitthalchavan7578 Жыл бұрын
Excellent explanation of time intelligence dax function in PB
@Gagan_Sky
@Gagan_Sky Жыл бұрын
What would be the dax previous QTD - means if today I am in Q3 from July 1 2023 to Aug 18 2023. So what would be the output for previous QTD means for Q2 from Apr 1 2023 till May 18 2023.
@adhipkumarnaik2167
@adhipkumarnaik2167 Жыл бұрын
Thanks for this video. It's really really helpful one. "Love to Milestone Creator"❤
@Chetan_15
@Chetan_15 Жыл бұрын
very very help full need more videos on imp interview question as exp for 2 to 3 years
@Saiyad-s2q
@Saiyad-s2q 9 ай бұрын
Thank you
@mtad-health
@mtad-health Жыл бұрын
Very nice, it's great, thanks
@user-pd4kq6jy3r
@user-pd4kq6jy3r 5 ай бұрын
great tutorial, keep up the good work
@chalanatyjostna2229
@chalanatyjostna2229 9 ай бұрын
Hi I have a question. I am confused calculating pytd value. can you tell me which is correct between the below two to calculate PYTD avg price. should we use just the avg_price or calculated YTD avg_price? PTYD Avg Price = CALCULATE([YTD Avg Price],SAMEPERIODLASTYEAR(Calender[Date].[Date])) or PTYD Avg Price = CALCULATE([ Avg Price],SAMEPERIODLASTYEAR(Calender[Date] .[Date]))
@muhammadtaqee9268
@muhammadtaqee9268 2 ай бұрын
👍👍👍 very good
@RFA8280
@RFA8280 9 ай бұрын
Sir, Very nice video but the concept for previous month/quarter to date is wrong.PMTD - Previous month to date is the period starting from the beginning of last calendar month and ending at the current day of last month. Please correct in video so that other people learning will get right logic.
@NithinKG-h7e
@NithinKG-h7e Жыл бұрын
Very nice explanation
@binapanipatel5409
@binapanipatel5409 Жыл бұрын
Informative video.
@manjunatharalikatti2202
@manjunatharalikatti2202 Жыл бұрын
Nice .. informative post! It will be more interesting if you can explain quarters start not on January, restrict the day from slicer for example am on 12th Aug 2023 MTD will show from 01Aug to 12th Aug 2023, I want to see current MTD from 01Aug2023 to 11thAug2023.
@nikhil09090
@nikhil09090 10 ай бұрын
MTD = CALCULATE( [Total Sales], FILTER( ALL(Orders[Order Date]), Orders[Order Date] >= DATE(2023, 8, 1) && Orders[Order Date]
@manjunatharalikatti2202
@manjunatharalikatti2202 10 ай бұрын
@@nikhil09090 Thanks for response, Keep sharing knowledge.. Its really nice to watch your videos, knowledge full !.
@shitalpisolkar5176
@shitalpisolkar5176 Жыл бұрын
Very nicely explained
@prathmeshwavhal8767
@prathmeshwavhal8767 4 ай бұрын
Nice, But i required Indian calendar year formula
@Resh_Aadil_AllaboutExperience
@Resh_Aadil_AllaboutExperience 11 ай бұрын
Great content bro👏👍
@lifeandliving7861
@lifeandliving7861 Жыл бұрын
Nice
@AshishAnand-ry1kt
@AshishAnand-ry1kt 5 ай бұрын
ye kpi card mein kaise show karein.....sply and cmtd mein comparison ?
@yogeshbalwani6442
@yogeshbalwani6442 8 ай бұрын
How do i calculate these metrics when the calendar is not standard . For example fiscal year starts from 1 feb and ends on 31 Jan
@pmohantymohanty7
@pmohantymohanty7 3 ай бұрын
Did you check the file link you have uploaded? is it okay?
@RCtalks186
@RCtalks186 9 ай бұрын
Bro im using MTD sales and qtd sales different measures but value is same bro anything wrong in calculation
@ChitrakshiSaxena
@ChitrakshiSaxena 5 ай бұрын
In the dataset sales column, from order id 260 to 365 instead of sales data, there is date.
@nirajpatel2020
@nirajpatel2020 Жыл бұрын
👍👍👍
@shaikakil7957
@shaikakil7957 Жыл бұрын
Why we have to take New Table while creating Date In Dax ?
@anandreddy2992
@anandreddy2992 10 ай бұрын
What if the date column is having duplicate dates, datesytd is not accepting, how to handle this?
@VandanaTiwari-t9h
@VandanaTiwari-t9h 8 ай бұрын
HOW TO Create a line and clustered chart and compare this year vs last year's sales along with growth % ?
@mrsecular238
@mrsecular238 8 ай бұрын
Create a measure for variance= total sales this year - total sales last year. Now take dual axis graph, x axis give date, y axis give total sales this year and total sales last year, for line y axis give the variance created.
@arowwman
@arowwman Ай бұрын
How to create weeky sales
@user-rc2uc1kv6w
@user-rc2uc1kv6w 3 ай бұрын
please give the dataset again which wont contain error, i am noob to power bi
@prathameshmane333
@prathameshmane333 7 ай бұрын
Bhai Previous Date kaa batade..
@neerajghansla6062
@neerajghansla6062 Жыл бұрын
hi your LastYearYTD period is wrong.. LastYearYTD means till date ie. 2022-01-01 to 2022-08-03.
@debabrataroy1777
@debabrataroy1777 4 ай бұрын
Data of current month must be filled up to get correct output in SPLY MTD, SPLY QTD & SPLY YTD.
@debabrataroy1777
@debabrataroy1777 4 ай бұрын
SPLY MTD, QTD & YTD data mismatching. Data must be taken up to August 4 of 2022, instead taking data of whole August month.
@bslacrimosa
@bslacrimosa 9 ай бұрын
Was he switching languages mid sentence?
@user-rc2uc1kv6w
@user-rc2uc1kv6w 3 ай бұрын
error while loading dataset some error in the table
@Indian-lifestyle-vlogs
@Indian-lifestyle-vlogs 10 ай бұрын
Bhai sb formula glt ho rha hai aapka ... Without filter koi answer nhi AA raha hai... Ek fir se check kro aap.. aapa data set ko increase kr k dekho koi formula kaam nhi krega... Please help kre agr time to ho fir se isi ka part 2 bnaye
@Potter362
@Potter362 8 ай бұрын
Please say till date bro😉
@pranavsharma9328
@pranavsharma9328 4 ай бұрын
queries not working
@omkarrahate3488
@omkarrahate3488 20 күн бұрын
DATESMTD(Order[Date]) as the second parameter is unnecessary and redundant because TotalMTD alone would give you the MTD calculation.You guys are just copying each other on KZbin video and posting without making any sense. I think you guys are "ANPAD"
@darshanchaudhari7969
@darshanchaudhari7969 Жыл бұрын
You have used wrong method complicated dax
@milestonecreator2545
@milestonecreator2545 Жыл бұрын
If you think you have a better idea than this then definitely you can share that in the comment section. So that others can also benefit from that sir. Thanks for your comment. I will appreciate your New method.
📈Optimization Of Power BI Report💡
11:02
MilEstOne CrEaTor
Рет қаралды 5 М.
"كان عليّ أكل بقايا الطعام قبل هذا اليوم 🥹"
00:40
Holly Wolly Bow Arabic
Рет қаралды 12 МЛН
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 2,5 МЛН
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 9 МЛН
Сюрприз для Златы на день рождения
00:10
Victoria Portfolio
Рет қаралды 2,3 МЛН
Learn all types of Date and Time Dax functions in Power Bi (35 min.)
35:21
Power BI Tutorials
Рет қаралды 54 М.
How to calculate MTD QTD YTD in Power BI DAX Tutorial (6/50)
15:32
Analytics with Nags
Рет қаралды 168 М.
DAX TOTALMTD TOTALQTD TOTALYTD in Power BI | hindi
15:36
Lotusamaze
Рет қаралды 15 М.
DAX DATESMTD VS DATESQTD VS DATESYTD in Power BI | Hindi
11:16
Lotusamaze
Рет қаралды 13 М.
Time Intelligence calculations with Power BI | Community Webinars
50:37
Microsoft Power BI
Рет қаралды 77 М.
DAX by examples
1:11:50
SQLBI
Рет қаралды 222 М.
"كان عليّ أكل بقايا الطعام قبل هذا اليوم 🥹"
00:40
Holly Wolly Bow Arabic
Рет қаралды 12 МЛН