Power BI Tips - How to sort by Month and Year (and best practices)

  Рет қаралды 53,877

Pragmatic Works

Pragmatic Works

Күн бұрын

Пікірлер: 41
@truewiking
@truewiking Жыл бұрын
Finally one version that is working 😀, you very skilled and explain things perfectly, thank you very much
@war_kittens
@war_kittens 9 ай бұрын
THANK YOU. I have seen so much absolute BS on how to make a sort column and I KNEW it had to be easier than people were making it out to be. There was NO way that you couldn't use a data transform. And the new column by example? Holy crap do I have ideas for that thing. You have absolutely saved my bacon.
@advanttb8991
@advanttb8991 2 жыл бұрын
literally crying with gratitude
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Glad you enjoyed!
@gentirexhaj5876
@gentirexhaj5876 2 жыл бұрын
Well Done mate! I have been looking for so many videos for this problem and finally i have find it. Thank You!
@duduzilembhele8576
@duduzilembhele8576 8 ай бұрын
Thank you, I cracked my head trying to figure this out.
@AlastairDonnelly
@AlastairDonnelly 9 ай бұрын
This had been driving me round the bend. Thank you
@HakeemLawrence
@HakeemLawrence 2 жыл бұрын
I freaking love this guy man! He always solves my problems.
@kokilad-vq5je
@kokilad-vq5je 9 ай бұрын
Thanks for this useful video, really helped me a lot.
@shairadoshitzky1077
@shairadoshitzky1077 Жыл бұрын
Thank you for the detailed tutorial, it's working great :)
@ershelin
@ershelin 7 ай бұрын
Thanks for the explanation Mitchell
@monopolymac6168
@monopolymac6168 2 жыл бұрын
clear and concise. worked perfectly, thank you!
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Glad to be of help!
@haymanotachn2234
@haymanotachn2234 2 жыл бұрын
You Guys are Just amazing (All Pragmatic Works Stuffs)
@naoletube6017
@naoletube6017 3 ай бұрын
Thank you very help full
@ContemplationsYT
@ContemplationsYT 2 жыл бұрын
Very helpful, thank you!
@brendanobrien2253
@brendanobrien2253 2 жыл бұрын
Wicked helpful. Thanks so much!
@Lhen134
@Lhen134 2 жыл бұрын
thanks, worked perfectly!
@PragmaticWorks
@PragmaticWorks 2 жыл бұрын
Glad to hear you found it helpful :)
@ravitejak9414
@ravitejak9414 Жыл бұрын
Thanks man it worked
@mohanadmohamed5501
@mohanadmohamed5501 3 жыл бұрын
Nice trick. Thank you
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
You're welcome!
@rahimovassagh4569
@rahimovassagh4569 Жыл бұрын
Great, thank you
@danielgelderd4017
@danielgelderd4017 3 ай бұрын
Thanks. Newbee question. Why could you not just select the existing date field as the thing you sort using?
@williamarthur4801
@williamarthur4801 2 жыл бұрын
Well thanks for one thing, I'd been struggling with a sort column YEAR()&MONTH(), which was fine up to September, so that's now sorted, no pun intended.
@CSHarvey
@CSHarvey 3 жыл бұрын
MonthID = Datediff("month",#1/1/1900#, [Date]). This gives a 1-up index for each month that can be easily used for sorting by year/month, Filtering for the past x months (where MonthID > DateDiff("Month",#1/1/1900#,Today)-(x+1)) comparing months YoY (recursive join on the data "On A.MonthID = B.MonthID +12") Same process works for ISO Weeks.
@zxu-zv2yy
@zxu-zv2yy Жыл бұрын
Hi Michell, this is great! Would you please let me know if the query is till the better option when we combine the multiple period file at a time by using the query method to sort the MonthYear out and even later there will be new period file added to? Thank you
@carolwu7270
@carolwu7270 Жыл бұрын
Thank you so much, it is helping me solving the ordering problem. However, I use the month-year in my Matrix's as column, is there anyway I can sort the month-year in descending order?
@rahmasye001
@rahmasye001 3 жыл бұрын
Informative Sir
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
Thanks! -Mitchell Pearson
@andrewyoung9180
@andrewyoung9180 Жыл бұрын
How did you go from creating the Month Year Year Sort to then getting the two lines below it? You clicked something and did not say what you clicked.
@lucky12303
@lucky12303 7 ай бұрын
Thank you, from past one week I am struggling to sort the my data but unfortunately its not working. I have 3 years data with a) Month Numbers b)Year (But need to arrange as per fiscal year Apr to Mar) Want to sort the data as per fiscal year but its not working, could you please help me?
@varshakrishna7918
@varshakrishna7918 2 жыл бұрын
what if I donot have date column? I only have Year and Month Column?
@LuisECP
@LuisECP 3 жыл бұрын
What is Calendar Year? is the numerber of year, maybe you must show the table first, so we can give us a better idea how it work.
@adityagedam4670
@adityagedam4670 4 ай бұрын
i get error of circular dependency
@xMastJedi
@xMastJedi 3 жыл бұрын
I do it a bit simpler by calculation.... YYYY * 100 + DD...
@Chris_87BC
@Chris_87BC 3 жыл бұрын
sort by month year order column :) YYYYMM
@xMastJedi
@xMastJedi 3 жыл бұрын
Brrrr, Dates in Power BI and reports it's something what I hate... And, sorry guys, american date and time format I hate most :P Why? I can show you excel file with data taken from system in csv format, where in ONE column I have mix format - EU dates, US dates, 24 hrs clock and 12 hrs clock.... And obviously half of them are recognised as text. And you never sure are these transformed to date are transformed correctly. And 05/07/2021 is not regonised as 7th May... NIGHTMARE. Or you living in Europe, you create excel table to collect data, you save it on SharePoint Teams, you open it and you can see.... US format dates looool. Easy to imagine - human error by typing wrong date. PS1. All International seetings - system, browser, office I have set on UK format... DD/MM/YYYY 24 hrs clock. PS2. Next nice trick. Thx.
@PragmaticWorks
@PragmaticWorks 3 жыл бұрын
As always, Thank you! -Mitchell Pearson
@advanttb8991
@advanttb8991 2 жыл бұрын
I let your pain through me
@aviellsegall1190
@aviellsegall1190 2 жыл бұрын
Power BI is business Intelligence. It uses AI Artificial Intelligence. So why on earth it does not have DI - Date Intelligence ??!!. When column set as "Date", Power BI should configure the month's number AUTOMATICALLY !!!. Sincerely yours, AIU...Average Intelligent User
Understanding Row Context in DAX using Power BI
19:47
Pragmatic Works
Рет қаралды 46 М.
Hands-On Power BI Tutorial 📊 Beginner to Pro [Full Course] 2023 Edition⚡
3:02:18
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
EVERYTHING YOU need to know about SORTING in POWER BI
16:45
How to Power BI
Рет қаралды 64 М.
How to Move Data Automatically Between Excel Files
11:37
Kenji Explains
Рет қаралды 255 М.
Data Modeling (Star Schema 🌟) in Power BI - Creating Dimension Tables
24:54
Top 10 Power BI Features You Should Be Using Right Now!
17:24
How to Power BI
Рет қаралды 109 М.
Data Modeling for Power BI [Full Course] 📊
2:34:41
Pragmatic Works
Рет қаралды 3,4 МЛН
Fields parameters in Power BI
20:38
SQLBI
Рет қаралды 81 М.
Power BI DAX: Time Intelligence Rolling Measures (Tutorial) 💥
17:04
Pragmatic Works
Рет қаралды 25 М.
Power BI Show Year-to-Date (YTD) Across Multiple Years
15:58
Avi Singh - PowerBIPro
Рет қаралды 118 М.
SLICERS done Differently | Power BI
17:07
How to Power BI
Рет қаралды 183 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН