Comparing with previous selected time period in DAX

  Рет қаралды 42,595

SQLBI

SQLBI

Күн бұрын

Пікірлер: 65
@SumanMondal-d2y
@SumanMondal-d2y 3 ай бұрын
Every week a learn a new thing from this KZbin channel .Thanks a lot . This really helped me in my ongoing project .Sundays well invested
@AlexanderCortes210486
@AlexanderCortes210486 21 күн бұрын
What a great explanation Mr. Ferrari, thanks for sharing your amazing knowledge with the community...!
@mudassarhussain5424
@mudassarhussain5424 11 ай бұрын
After a whole week in finding a solution. your this video makes my work way easy. i was working on price elasticity project. as some products did not sell daily so date gap created problem to use offset to get previous date data to check change in value. I really appreciate.
@passioncreativekass-sand827
@passioncreativekass-sand827 11 ай бұрын
TROP TOP, je cherchais depuis 10 jours et j'allais abandonner. Merci infiniment. J'ai encore appris quelque chose.De plus la traduction ene français me permet de comprendre sans bêtement reproduire MERCI MERCI
@flikg
@flikg 3 жыл бұрын
Alberto I wish you were my professor during studies!!!!! THANK YOU SO MUCH FOR THE WORK YOU ARE DOING!!!
@adityaupadhyay3242
@adityaupadhyay3242 3 жыл бұрын
Wow this is such a smooth and clean explanation. KeepFilters is a blessing.
@manassehkisame6286
@manassehkisame6286 8 ай бұрын
This tutorial is Golden. I have mined and mined for days on end till this Eureka Moment @ SQLBI!
@VladMZ
@VladMZ 3 жыл бұрын
Precious! This is exactly what I need. I have a task where Output of one stage this week is an Input for the subsequent stage next week. I already created a column with week number relative to the current week (negative in past, 0 current, positive in future), so I'll just use it for this calculation. Thank you!
@amarnadhgunakala2901
@amarnadhgunakala2901 4 жыл бұрын
Everyday one new thing that makes my learning keep on going, Thanks Alberto
@nazirakhan6530
@nazirakhan6530 4 жыл бұрын
Thanks Alberto !! Everytime you make us learn something new and exciting
@olivergruss6018
@olivergruss6018 4 жыл бұрын
Great Work as always - im very glad you started a youtube Channel. I hope you become the msot popular PowerBi Channel. Nobody else is more than an expert on the topic than you guys. Keep up the good work. It will pay off :)
@Phongtrung02
@Phongtrung02 6 ай бұрын
This video literally saves me from my job fired, thanks alot
@huseyinburaktasci
@huseyinburaktasci 2 жыл бұрын
Amazing! This is a code I was searching for some time. Thank you! I follow you with admiration. Regards.
@salvatorescofano6756
@salvatorescofano6756 4 жыл бұрын
Alberto, congratulation, This video is very strong, but you transform in easy.!!
@brockyoutube
@brockyoutube 3 жыл бұрын
Genius, I was able to use your code as a base to what I really needed. Thanks for posting!
@DanielADamico
@DanielADamico 4 жыл бұрын
It seems easy when it's explained by you guys! Thanks for sharing!
@ShabnamKhan-vk7fj
@ShabnamKhan-vk7fj 3 жыл бұрын
This is amazing. Thanks for making DAX so enjoyable for us.
@satishkumardommeti8282
@satishkumardommeti8282 4 жыл бұрын
Alberto, you make DAX sound very simple. In fact, when I get to my keyboard to write the measure, I mostly end up missing some step. Maybe, I need more practice for sure. Cheers!!!
@sushiheartt
@sushiheartt 5 ай бұрын
thanks a lot for sharing this. may i know how to compute the growth/variance for this case for selected months too?
@mohamedfasil4891
@mohamedfasil4891 2 жыл бұрын
Great Video ! Its Really helpful for me and I have one question That is In second page your slicer is Year Month Name not Year Month Number . I want to know how to do that instead month number we have to put month name in dax ?
@aliceqiuyingtan7222
@aliceqiuyingtan7222 3 жыл бұрын
Thanks for sharing, this is really useful and amazing. I just have a question, if in my report, i have several slicers. How can i modifiy the mesure? the target is the comparaison calculates with these choices of slicers
@k.b.jayakumar5136
@k.b.jayakumar5136 2 жыл бұрын
Excellent Video, Thank you Sir.
@mnowako
@mnowako 4 жыл бұрын
Thank you, professor Alberto!
@ekaterinamoskvina2067
@ekaterinamoskvina2067 2 жыл бұрын
Just amasing! THANKS A LOT!!!
@namithamukundan
@namithamukundan 3 жыл бұрын
Hi Thank you for the video. I am trying to get a variance for two different time period and the time period is selected basis the end user. Like in the video. Do advise on the same.
@Minifini4
@Minifini4 2 жыл бұрын
This measure doesn’t show in “Total” in the table. Is there a way to have sub/total as well? Many thanks
@andrea31050
@andrea31050 7 ай бұрын
It works great on a table, but i have problems when i add the measure as a value in a matrix. I'm trying to compare the selected week with it's previous week. as selecting week 10, and showing two columns with sales form week 9 and 10
@colin8601
@colin8601 Жыл бұрын
This was amazing ! I've used this in my retail 4-5-4 data model but I'm very confused on what I need to change in the previous month formula. When I don't use any filters on my output, it works beautifully! The second I try and filter anything on the visual, it returns in accurate data . I know it has something to do with filter context Inside but I can't understand. Can you or anyone help?
@SQLBI
@SQLBI Жыл бұрын
For 4-5-4 look at the formulas here: www.daxpatterns.com/week-related-calculations/
@pawewrona9749
@pawewrona9749 4 жыл бұрын
Thank you for another great video!
@unitedwings7644
@unitedwings7644 Жыл бұрын
Hey hi in powerbi I want to compare a value for continuous 15 mins if the value is same for 15mins continuously and I need a count 1 for that
@Vitor-hb8dt
@Vitor-hb8dt 2 жыл бұрын
AMAZING! It helped me a lot!!!
@sbn4862
@sbn4862 3 жыл бұрын
Hi Mr Alberto I can't sort my Year Month in another my table, No YearNumber and YearMonthNumber can help.
@Bharath_PBI
@Bharath_PBI 4 жыл бұрын
Thanks again for another video. 👍
@kebincui
@kebincui 3 жыл бұрын
Thanks Alberto 👍👍👍
@kkelinaa
@kkelinaa 3 жыл бұрын
Thank you for useful informations.
@athandapani
@athandapani 4 жыл бұрын
Very good example 👍
@pradeeprawatvlogs8358
@pradeeprawatvlogs8358 Жыл бұрын
sir i have a problem which i wanted to slove that is i wanted to compare between different periods like last 7 days, 14, 30 & Month to date with previous month to date but all these option should be on slicer and the all visuals which resides in the page should reflect the output please suggest me how to do i have tried but i am unable to do it.
@1yyymmmddd
@1yyymmmddd 4 жыл бұрын
Great, as always. Thanks !
@Knud451
@Knud451 4 жыл бұрын
Thanks. Sorry for posting the question here. Is it possible to make the names of measures dynamic? If so, can you do a video on it? It would really help in visualising/explaining some reports I have.
@SQLBI
@SQLBI 4 жыл бұрын
No, measure and column names are defined in the model and cannot change. You can dynamically change the title of a visual in a report, though.
@Knud451
@Knud451 4 жыл бұрын
@@SQLBI thanks. The thing is that I have several measures in the visual and they all need to change independently of each other.
@pravinupadhyay2046
@pravinupadhyay2046 4 жыл бұрын
Very good, i was thinking if we have suppose products or brands in the place of month year ???
@SQLBI
@SQLBI 4 жыл бұрын
Potentially you could use a similar approach - but in which case you compare a product with the previous product? And you don't have the notion of "periods" there.
@pravinupadhyay2046
@pravinupadhyay2046 4 жыл бұрын
@@SQLBI thankyou for your response, I got your point, if products are ranked then I can use that rank as a notion for selected previous product.
@douglasgimenez7852
@douglasgimenez7852 4 жыл бұрын
Muito bom conteudo!!!
@Ladiesman7790
@Ladiesman7790 3 жыл бұрын
Do you using a heatmap instead?
@mohammed333suliman
@mohammed333suliman 4 жыл бұрын
Thank you Alberto
@akki4718
@akki4718 3 жыл бұрын
in case if there is total we have to show based on selection then?
@LuisGonzalez-uv2ti
@LuisGonzalez-uv2ti Жыл бұрын
Let's say you want to compare 2023 YTD vs 2019 YTD, how would you do that?
@salvatorescofano6756
@salvatorescofano6756 4 жыл бұрын
Do you have any video explain On-premises data gateway ? instalation and configuration from a SQL Server? tks best regards
@SQLBI
@SQLBI 4 жыл бұрын
We only cover DAX and data modeling - you should look at guyinacube.com/2018/01/10/premises-data-gateway-power-bi-revisited/
@welcometomathy
@welcometomathy 2 жыл бұрын
Does it work between years?like dez21 Vs Jan22
@Alan.DL7
@Alan.DL7 4 жыл бұрын
This is great. I have a measure that computes the same thing but after creating like 4 different measures to feed the final one... Now, my question is and I can't figure it out on my own sadly: how to use this measure but to display data for example by Product Category without having to add a date column in the matrix. Even if I keep the date column, as soon as I drill down to Product Category level, the measure shows only blanks. Any tips here, please?
@SQLBI
@SQLBI 4 жыл бұрын
Try to reproduce the issue using the sample file you can download from the SQLBI website in the related article, and write your question in the comments to the article, it's easier to reply that way.
@Alan.DL7
@Alan.DL7 4 жыл бұрын
@@SQLBI will definitely do that, thanks! I have also purchased the Mastering DAX course. Maybe my answer will be there too :)
@felipesignorellireis7839
@felipesignorellireis7839 4 жыл бұрын
Very good. Thanks
@l3ol3lca
@l3ol3lca 4 жыл бұрын
Thank You!
@Usuario-gk1ni
@Usuario-gk1ni 2 жыл бұрын
thanks!!!
@picious
@picious 4 жыл бұрын
made it!!! 1 View - on time :) ... thank you!!
@3danim8r1
@3danim8r1 3 жыл бұрын
Genius...
@kalinduSekara
@kalinduSekara 4 жыл бұрын
Nice
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Row Context in DAX
20:42
SQLBI
Рет қаралды 105 М.
Calculate Growth From Previous Non Consecutive Date
8:52
Goodly
Рет қаралды 17 М.
Reusing formatting for Power BI reports
25:11
SQLBI
Рет қаралды 8 М.
This Year VS Last Year Time Comparisons & Differences In Power BI
9:21
Solving errors in CALCULATE filter arguments
30:55
SQLBI
Рет қаралды 31 М.
Using ALLEXCEPT vs ALL VALUES
13:35
SQLBI
Рет қаралды 57 М.
Propagating filters using TREATAS in DAX
19:18
SQLBI
Рет қаралды 47 М.