Best Way to Perform Like-for-Like Comparison in Power BI

  Рет қаралды 8,588

Goodly

Goodly

5 ай бұрын

Compare the Same Time Period from the Previous Year in Power BI / Time Intelligence in Power BI
In this video, we will learn how to perform a like-for-like comparison in Power BI. Often, when working with data in Power BI, you may need to compare data from the same time period in the previous year. #dax #dataanalysis #powerbi
⬇️Download the file - goodly.co.in/like-for-like-co...
===== ONLINE COURSES =====
✔️ Mastering DAX in Power BI -
goodly.co.in/learn-dax-powerbi/
✔️ Master M Language in Power Query -
goodly.co.in/learn-m-powerquery/
✔️ Power Query Course-
goodly.co.in/learn-power-query/
✔️ Master Excel Step by Step-
goodly.co.in/learn-excel/
✔️ Business Intelligence Dashboards-
goodly.co.in/learn-excel-dash...
===== CONTACT 🌐 =====
Twitter - / chandeep2786
LinkedIn - / chandeepchhabra
Email - goodly.wordpress@gmail.com
===== LINKS 🔗 =====
Blog 📰 - www.goodly.co.in/blog/
Corporate Training 👨‍🏫 - www.goodly.co.in/training/
Need my help on a Project 💻- www.goodly.co.in/consulting/
Download the file ⬇️ - goodly.co.in/like-for-like-co...
===== WHO AM I? =====
A lot of people think that my name is Goodly, it's NOT ;)
My name is Chandeep. Goodly is my full-time venture where I share what I learn about Excel and Power BI. Please browse around, you'll find a ton of interesting videos that I have created :) Cheers!

Пікірлер: 32
@GoodlyChandeep
@GoodlyChandeep 5 ай бұрын
Download the file ⬇- goodly.co.in/like-for-like-comparison-Power-BI/ Also, check out my Hindi channel - www.youtube.com/@desigoodly/videos
@Galli-se-office
@Galli-se-office 2 ай бұрын
Sir I used to see your videos. that is very useful specially for me . Sir I the job worth RS 10.5 LPA from HCL. You are amazing teacher for POWER BI excel and specially for logical concept . Once Again thank you so much
@gustavobarbosa906
@gustavobarbosa906 5 ай бұрын
Thank you, Chandeep! Quite interesting! Actually, I use a similar approach in my calendar tables. I create a column named When and populate it with -1, 0 and 1 for dates in the past, today and in the future. This is much simpler than making all my measures take today() into consideration. I am not sure, but I believe that this also alleviates the load on the Formula engine by moving this part of the queries to the Storage engine.
@RazvanMirea-se5ry
@RazvanMirea-se5ry 29 күн бұрын
Thank you! Great tutorial! Could you please make a Like-for - Like tutorial where to evaluate the days of the month (Current year vs Last year) from the day name perspective? For instance, 18 May - for the current year is on Saturday and last year it was on Thursday. On Saturday the stores are closed / only online shop is available; so, if I compare 18 May 2024 vs same day last year it means that I compare a weekend day with an working day. What DAX measure should I use to solve this one? According to the above example, the equivalent day for 18May 2023 is 16 May 2024 / Thursday vs Thursday.
@pthapa55
@pthapa55 5 ай бұрын
Thanks for good demonstrations, really easy to understand your explanations, thanks again for awesome videos.
@BeardsleyBrandon
@BeardsleyBrandon 5 ай бұрын
Another option is to add a column in the data set that represents last year sales. You can easily add this year and last year columns individually and perform any YOY calculations as needed.
@williamarthur4801
@williamarthur4801 4 ай бұрын
Just as a follow up I've been trying for a like for like but where the pre year starts in say Feb, so for a like 4 like the current Jan has to be ignored, I've got this at the Month level, using First non blank but still get a total for all the months, will persevere.
@giorgitsomaia2812
@giorgitsomaia2812 4 ай бұрын
great Video! I have one question though, I am using almost similar methodology as your second idea, but I am applying it directly in Power Query, which one is better and faster for calculation?
@Nalaka-Wanniarachchi
@Nalaka-Wanniarachchi 5 ай бұрын
Excellent !!! little fast on the demo ,yet superb..For me the OFFSET method works for any situation. In this example the current month of 2012 Aug ,if it is not completed month then there would be a diff with last year month cos in the example it is considering as completed month.
@jimayas
@jimayas 5 ай бұрын
Great content as always! And remember Dax is simple but not easy 😊
@shoaibrehman9988
@shoaibrehman9988 5 ай бұрын
DAX should consider if dealing with complex data model, while filtering a calendar table could be better approached in small data sets. Anyway thanks for sharing greate informative videos
@leonardobergua
@leonardobergua 2 ай бұрын
I see a flaw in your method (how bold I am, teacher 😅). I think that this way you cannot compare the evolution of sales as of August 31 from several years. I use this formula in PowerQuery but the equivalent version in dax is even easier. = if (Date.Month([DATE])+Date.Day([DATE])/100)- (Date.Month([SALES END DATE])+Date.Day([SALES END DATE])/100) < 0 then "True" else "False" It can be modified with reference to the End of the Month with a Round.up which would be the equivalent of EOMONTH().
@syrophenikan
@syrophenikan 5 ай бұрын
Great job!!!
@bradj229
@bradj229 4 ай бұрын
Awesome!
@mansoorsaleem7974
@mansoorsaleem7974 5 ай бұрын
Hi Goodly, can you help me with equivalent of ntile function on datetime column in power bi as i want to divide this date column distinctly in 4 equal groups.
@randolfojolongutierrez5311
@randolfojolongutierrez5311 5 ай бұрын
Excelente
@cathrerinezetadrones3169
@cathrerinezetadrones3169 5 ай бұрын
Nice dude!
@gennarocimmino
@gennarocimmino 5 ай бұрын
The first version of the measure [Sales LY Revised], the one built with the DAX approach, is clear and works correctly from January 2012 to August 2012 and in total in your examples. I do not understand why in the months September 2012 to December 2012 it shows those values (40,195.59; 37,843, 74; 35,828.82; 33,607.53). How do I come up with those values? So it would seem that the [Sales LY Revised] measure, following the DAX approach, does not work for the following months.. Don't you think so? Thank you.
@akshaybanaye
@akshaybanaye 5 ай бұрын
EOMONTH(MAX(Sales[Date])) returns a date format. Then why subtracting 12 from it automatically goes back by 12 months and not 12 days or years?
@williamthedataprof
@williamthedataprof 5 ай бұрын
by definition, EOMONTH will always shift the dates forward or backward by the MONTH unit. That's the way it's programmed
@aarushfunwithplaying5865
@aarushfunwithplaying5865 4 ай бұрын
Sir,need your guidance on one question, we r maintaining around 30 workspaces in our prod environment, for usage metrics z every time we r going each report and downloading manually, is there any way to automate instead of downloading?
@GoodlyChandeep
@GoodlyChandeep 4 ай бұрын
Guess you can do that using Power Automate.
@RogerStocker
@RogerStocker 5 ай бұрын
I prefer data modeling solution as this is easier to understand for outsiders, I guess.
@natsarev
@natsarev 5 ай бұрын
The main question is wich approach is more effective on large amount of data
@easyonexcel
@easyonexcel 5 ай бұрын
Hi, how do i compare this year same day with last year same day. For example, 10th Jan 2024 is Wednesday so I want to compare it with last year Wednesday which is on 11th Jan 2023.
@BeardsleyBrandon
@BeardsleyBrandon 5 ай бұрын
Calculate([sales measure],dateadd(‘calendar’[date],-364,day))
@emanueledelzoppo5164
@emanueledelzoppo5164 5 ай бұрын
I dont get the difference between a calculate in a calculate and a calculate with two filter conditions. Any help?
@GoodlyChandeep
@GoodlyChandeep 5 ай бұрын
Video coming up soon
@emanueledelzoppo5164
@emanueledelzoppo5164 5 ай бұрын
@@GoodlyChandeeplooking forward to it! Also is very frustrating how I dont know when use filter inside calculate o crossjoin inside calculate. Follow your guidelines is getting me more and more comfortable with dax ❤
@Motivational_Greek
@Motivational_Greek 5 ай бұрын
Thoda slow bola kar bhai, follow bhi tou karna hae.
@priyeshsanghvi8424
@priyeshsanghvi8424 4 ай бұрын
Bhai, you have the option of controlling his speed in the settings of your video, use that ! I like his speed, but if at any time it appears fast, I slow it down from my settings.
List.Accumulate in Power Query with Practical Examples
27:26
3 Insanely Awesome Slicer Tricks in Power BI 🤯
15:35
Goodly
Рет қаралды 13 М.
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 26 МЛН
1🥺🎉 #thankyou
00:29
はじめしゃちょー(hajime)
Рет қаралды 83 МЛН
Use CONCATENATEX to Create Smart Visuals in Power BI
20:02
Time Intelligence in Power BI
50:27
SQLBits
Рет қаралды 5 М.
9 Tiny but Super Useful Power BI Hacks
11:15
Goodly
Рет қаралды 15 М.
7 Simple Concepts of Writing Powerful DAX  🔥
16:07
Goodly
Рет қаралды 19 М.
I Bet You Don't Know All These Power Query Tricks
12:28
Goodly
Рет қаралды 36 М.
5 Surprising Power Query Tricks You Need to Know!
14:14
Goodly
Рет қаралды 29 М.
1 Trick for Endless Power BI Charts!
20:14
How to Power BI
Рет қаралды 56 М.
DAX Summarization Tricks in Power BI
12:51
Goodly
Рет қаралды 19 М.
Девушка и AirPods Max 😳
0:59
ОТЛИЧНИКИ
Рет қаралды 16 М.
Bluetooth Desert Eagle
0:27
ts blur
Рет қаралды 7 МЛН
MacBook Air Японский Прикол!
0:42
Sergey Delaisy
Рет қаралды 188 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 1,6 МЛН
📦Он вам не медведь! Обзор FlyingBear S1
18:26