DATE TABLE for Power BI using Power Query

Поділитися
Вставка
  • Опубліковано 26 січ 2025

КОМЕНТАРІ • 180

  • @graemegourlay2850
    @graemegourlay2850 3 роки тому +20

    Brilliant. Exactly what I needed to do. Optimal pace on your tutorials; you get straight to the things that matter and crack through them in a methodical and logical way. Excellent stuff.

    • @HowtoPowerBI
      @HowtoPowerBI  3 роки тому +1

      Thank you for the kind words Graeme! 😀

  • @simon5296
    @simon5296 Рік тому +24

    Thanks for the video. One small suggestion is that, it would be much easier to follow if you could make your mouse cursor more visible. I had a hard time to see where did you click sometimes.

  • @es8560
    @es8560 2 роки тому +3

    It took me 180 mins to digest this awesome 21 mins video yesterday. I forgot to say "thank you" and LIKE. So I'm coming back to revisit the topic and do I was supposed to do yesterday.😂 Excellent approach to explain the topic in a digestible way!

    • @HowtoPowerBI
      @HowtoPowerBI  2 роки тому

      :):) thank you so much for taking the time!

  • @AndreasNorway
    @AndreasNorway Рік тому

    This was really helpful. Thank you!

    • @HowtoPowerBI
      @HowtoPowerBI  Рік тому +1

      Glad to hear you think so! Thank you for your support:)

  • @trietn2921
    @trietn2921 2 роки тому +4

    This is the best explanation I've come across on how to do this. I loved how you showed the actual steps so that I could follow along and explained what each step was doing. I'm not a coder, but I could follow this. I like how you went back at the end and showed how it appeared in the data field.

  • @codelemon4327
    @codelemon4327 3 роки тому +2

    Why am I just seeing this?! This is amazing, I really appreciate it.

  • @alainluong3305
    @alainluong3305 Рік тому

    I've just discovered this Channel, i realize I have at least 2 years of knowledge to catch up. And with your vids which are wisely structured and dense I'll catch up fast. Big thanks !

  • @Sonali_Choudhury_2
    @Sonali_Choudhury_2 2 роки тому +2

    Why this video got only 1k likes... it should be 1million likes.. u deserves it... 😃😃.. nice explanation.. "New subscriber added!!"

  • @joaomartins2431
    @joaomartins2431 Рік тому

    This is the best explanation I've come across on how to do this.

  • @TeejTubeU
    @TeejTubeU Рік тому

    Why, after clarifying the sort order for the individual columns, like you see at 20:29, does it order the Months alphabetically and not in the order that they occur when covering multiple years?

  • @stuartboyle5169
    @stuartboyle5169 5 місяців тому

    Thank you! I have been going nuts trying to figure out how and why graphs would change the order in strange ways when I change the x-axis field. It was super helpful to see how to tie the calendar to other tables and force the desired sort order. Your the first I have found the followed through with this critical step.

  • @fr0rg
    @fr0rg Рік тому +1

    Would help to see other areas of the screen. Lost when you started creating the list of dates after commenting the variables

  • @brucemcminn5169
    @brucemcminn5169 Рік тому +1

    Another great video!! I have one question. At 16:45 all of the added columns appear to be the Date data type. But at other places (like 11:21) they are still text or whole number. Howe are you managing this conversion? If I simply change the data type, PBI converts the number to a date based on that value (i.e. 2022 becomes Friday, July 14, 1905). Thank you!

  • @grandreefer9570
    @grandreefer9570 2 місяці тому

    Thanks, good video. One question do you have video creating Date table using DAX?
    Also i cant find how to convert query into Table in pBi 2024(9:15 min).

  • @sammoss147
    @sammoss147 11 місяців тому +2

    This has been so helpful thank you! Would you be able to do a time table tutorial as well?! I'm working with call center data which is proving to be challengng!!

  • @samiraslan9735
    @samiraslan9735 4 роки тому +2

    Man I love your videos, keep the hard work up.

    • @HowtoPowerBI
      @HowtoPowerBI  3 роки тому

      I appreciate that! thx Sami! 😃 will do

  • @Annahita-o3n
    @Annahita-o3n Місяць тому

    Thank you so much, this was very helpful!

  • @elishmuel1976
    @elishmuel1976 Рік тому

    Awesome! Here I thought I had to create a new Date Table for every range I wanted to look at! Thanks for helping me create my first Date Table!

  • @TeMpErCommentary
    @TeMpErCommentary 5 днів тому

    Thanks for the content, I am going to follow through it carefully to recast my dates into FY-Q. I was surprised, however, that you didn't explicitly cover how to change the fiscal year-end date (to March 31, for example). I see you have included a formula for this in the comments so I will try that.

  • @fdu6
    @fdu6 Рік тому

    I know I'm late, but you saved my butt. You are the best

  • @sr5726
    @sr5726 Рік тому

    for inserting new step do you use a keyboard shortcut ?

  • @WooS1986
    @WooS1986 Рік тому

    Your videos are awesome. You are very clear and your voice remember me to jhon (the father in this is us). Its very relaxing and nostalgic i dont know

  • @patrickdougherty2869
    @patrickdougherty2869 Рік тому +3

    FEEDBACK: For beginners your cropped screen view makes it hard to see HOW you got to where you are. Example after setting up the Start and End Date you start to write the function, but I cannot get the Start/End date values out of the fx editor

    • @HowtoPowerBI
      @HowtoPowerBI  Рік тому

      thanks for the feedback

    • @michaelg9359
      @michaelg9359 Рік тому

      Yes, how do you do this? I can't set up the end date. Thanks-

  • @manishtekale5449
    @manishtekale5449 Рік тому +2

    Can you please make a video on how to slice between calender year and financial year

  • @constantinoooo
    @constantinoooo 2 роки тому

    Man, you are so SMART and HANDSOME! 👏🏼I think I fell in love here. Thanks for this video! It helped me a lot!

  • @MorrisTube
    @MorrisTube 6 місяців тому

    This is the most useful Date Table video that I found... Three years, the UI of power bi is not exactly the same in data model and other minor changes but the video itself is still relevant and top quality content, thanks!
    However... Just quick question, at 18:00 why your Date Column of your DimCalendar Table has a "Mini Calendar" icon besides?

  • @Piesforallfree
    @Piesforallfree Рік тому

    I spent at least one hour to view and practice from what I learnt from this video, at beginning I copied the codes from the end of session into advanced PQ editor, it didn't work, so I do it again from beginning, also learnt the trick to bulk update un-summaries columns 😇

  • @denisegarcia8464
    @denisegarcia8464 2 роки тому +1

    Can my Start Date and End Date be different. For example if my Start Date is in June and End Date May will this still work?

  • @erik8362
    @erik8362 Рік тому

    Is there any benefit in doing this wit PQ in stead of Dax? Usually I would set the start and end date based on the dataset max and min dates to get the correct date range.

  • @kookooiam6034
    @kookooiam6034 2 роки тому

    Thank you so much for taking the time to walk through this date creation. I have seem many different videos and yours is the best, easiest to understand by far and you walk through every possible issue which I just love and very much appreciate!!!

  • @AhmedElShafeey
    @AhmedElShafeey Рік тому

    I couldn't use analytics trend or forecast in my visualization 'ex. line chart" when I use the calendar table date column that related to data table "ex. sales"

  • @mahendrasingh7284
    @mahendrasingh7284 11 місяців тому

    Thanks for the amazing knowledge.
    Is there any change we can set start date dynamically

  • @GianAgassi
    @GianAgassi 3 роки тому +1

    If I want to have a custom date table for every date field (order date, due date, ship date in your example) , do I need to create 3 custom date tables? Coming from QlikSense, where the "autocalendar" script works like a charm and it is customizable, this seems inefficient

    • @HowtoPowerBI
      @HowtoPowerBI  3 роки тому +2

      I would create 1 - and then create a relation on all 3 date fields (no 2 and 3 will b inactive). You can then write a measure that uses the relation you like. For example:
      CALCULATE (
      SUM ( fctSales[Sales] ),
      USERELATIONSHIP (
      fctSales[Due Date],
      'dimDate'[Date]
      )
      )

    • @GianAgassi
      @GianAgassi 3 роки тому

      @@HowtoPowerBI thank you - in my difficult quest from Qlik to PowerBI, I am drilling down into the data modelling differences and I am very much scared by the loss of the associative modelling :( The fact that custom measures are the best way to cross-filter slicers, given the lack of many to many relationships... probably the result can be the same in 99% of the cases, but building the data model in Power BI seems to require much more knowledge and attention and a lot of workarounds to make things work as one would expect, am I wrong?

  • @Yallanomnom
    @Yallanomnom 2 місяці тому +1

    I have trouble with DayNo and Day, the data set has 2023 and 2024.. So can't sort Day with DayNo

  • @tajayrobinson4772
    @tajayrobinson4772 3 місяці тому

    You are awesome!! Thank you for this!

  • @CaribouDataScience
    @CaribouDataScience Рік тому

    Thanks, the PQ method was what I was looking for

  • @saurya1979
    @saurya1979 11 місяців тому

    I lost the slicer style "between" when I use the hierarchy using this approach. It now just gives me Vertical or DropDown options for slicer style. Is there a way to make a slicer style "Between" using this table?

  • @diederikvankolfschoten47
    @diederikvankolfschoten47 4 роки тому +3

    Hi Bas, great series. I have one question regarding the weeknumber: this seems to be the US weeknumber. Is there an equivalent like the Excel ISOWEEKNUMBER for European weeks. Week no 1 hardly ever starts on jan 1st..... in Europe that is....

    • @HowtoPowerBI
      @HowtoPowerBI  4 роки тому +3

      Hi Diederik, there is no native function in Power Query that calculated the ISOWEEKNUMBER. However, you could write ( or google ;) ) a custom function . Here is an example I found that could work excel-inside.pro/blog/2018/03/06/iso-week-in-power-query-m-language-and-power-bi/

  • @KhaledAlmazro-t4r
    @KhaledAlmazro-t4r Рік тому +1

    Many Thanks!
    this is a beneficial video !!

  • @GiovannaSabanalarga
    @GiovannaSabanalarga 2 роки тому +2

    Hello! Thank you for the video! In your relationships will this only work for order date? If so, how do you make the connection work for your other dates like Due Date or Ship Date?

    • @svendb7
      @svendb7 Рік тому

      Yeah, like do you just create multiple relationships and all works out fine and dandy?

    • @Isabolhuda
      @Isabolhuda 10 днів тому

      That's also my question, @HowtoPowerBI can you help?

  • @gambu4810
    @gambu4810 3 роки тому +1

    You are simply brrrrrrriliant. You always knock my socks off. Can l give you my daughter?

  • @shivaninaidoo683
    @shivaninaidoo683 2 роки тому +1

    Hi Bas, awesome video can my Quarters be different. For example, if my Start Date is in July-Sep for Quarter 1, Oct- Dec= Quarter 2 ?

  • @Usyachok
    @Usyachok 5 місяців тому

    Great lesson! Thanks a lot!
    But I didn't quite understand the case with the leap year
    I have the statistics period 2023-2024 and 2024 - leap year and the end of the year shows 12/30/2024

  • @VenemAcademy
    @VenemAcademy 2 роки тому +1

    Hi Bas, this is extremely helpful. Thnx! But ... (there is always a But 😉) ... the schoolorganisation where I work (vmbo/mbo in the Netherlands) we're so occupied teaching that it feels like the ink on one Q-report is still wet or the next Q-report has to be written. So we decided to split the year in thirds (tertial reporting). It gives us time to breath (and teach). How can I add such a tertial number column to my date table? Is there a mod function in Power Query or DAX e.g. (DayNr mod(122))+1?

    • @VenemAcademy
      @VenemAcademy 2 роки тому

      ... nailed it Bas (thnx, inspired by Your other videos) ... used Number.IntegerDivide 🙂 based on the daynumber of the year. Made it even more dynamic, in case my boss changed his mind about number of reports per year 🙈

  • @Reventrant
    @Reventrant 3 роки тому +1

    Is this the method you recommend when there is no end date? I analyze production data and there is no end date in sight. We've been in operation for 20+ years already. I usually use CalendarAuto but do you think there is a better way?

    • @HowtoPowerBI
      @HowtoPowerBI  3 роки тому +1

      Hi Todd, you can make the end date dynamic for example by using List.Max([Date Column]) . I generally transform and create my tables in power query when possible. However, that is more of a personal preference. I don't think there is a performance difference between the two methods.

    • @Reventrant
      @Reventrant 3 роки тому

      @@HowtoPowerBI - Awesome, thanks for the List.Max([Date Column]) tip.

  • @CommonSense-dd8cc
    @CommonSense-dd8cc 3 місяці тому

    Thank you for such great explanation and showing additional tricks (turning local or global autotime table, etc.). Do you have a video on how to create a dynamic fiscal year table and also that one that doesn't have dates, but just month and year? For example, financial statements and trial balance used to build them doesn't always have dates but rahter month ending balances. "Dynamic" - meaning I could specify the start date to be last 4 full fiscal years + current YTD. So at any given date I'll have my date table that gives me full 4 fiscal years and whatever number of months YTD. and next year it will update the start date to do the same vs having to manually change start date.

  • @sidneylc28
    @sidneylc28 2 роки тому +1

    Thanks for the tip, the reusable part is what adds value the most. I have followed the steps but the date column gets the icon of unique value, not as a date. does it affect the model? I couldn't add hierarchy with the drag option, only through the model view with right click add to hierarchy. Aparte from that, everything workas as expected.

  • @mihaiguramulta2667
    @mihaiguramulta2667 10 місяців тому

    Great Video!!! As always, your videos are full of excellent info!!!! But, how can I create a collumn that calculates the week number, knowing that the week starts always on saturday?? is it possible??? Thank you so much!!!

  • @matthewbelitz2950
    @matthewbelitz2950 7 місяців тому

    thanks for the video, been following along well but i'm getting an error at about 16.5 minutes in when it's time to name it...because it doesn't like in this step that i'm trying to subtract a date from a datetime value: = Duration.Days(Duration.From(EndDate-StartDate))+1. How do i get around this?

  • @rokiczaaa
    @rokiczaaa Рік тому

    How to combine dataparts and texts? I'd like to create yyyymm column (and similar)

  • @irfanabbassi9202
    @irfanabbassi9202 2 роки тому +1

    What If my Fiscal Quarter (q1) start from O1-July?

  • @bradblankenship8157
    @bradblankenship8157 2 роки тому

    How do you add a column that concatenates Year and Quarter?

  • @adiletyessaliyev4922
    @adiletyessaliyev4922 2 роки тому +4

    Hi Bas! As usual very informative and helpful. But I've gotta question - is it possible to get the max date from fact table in report instead of addin end date manually?

    • @JoepR-rs4br
      @JoepR-rs4br Рік тому +1

      Date.From(List.Max(facttable[columnname]))

  • @deshmukram623
    @deshmukram623 2 роки тому

    grreat videeo.. Bro, when i created a relationship with the date with my order_date in sales table , unfortunately it was not showing any hierarchy for the order_date column in my sales table

  • @julioms23
    @julioms23 4 роки тому +3

    Good lesson!!

  • @georgecook5120
    @georgecook5120 2 роки тому

    Thanks for this video. It was very helpful!

  • @CJ-jc8tn
    @CJ-jc8tn 4 роки тому +3

    Bas - Thank you for this lesson. The one question I have with creating a date table is whether to use Power Query or DAX. I've seen videos on both approaches and I've never really understood the pros and cons of both approaches. If you have any suggestions or tips on this topic, I'd appreciate your insight. Thanks.

    • @HowtoPowerBI
      @HowtoPowerBI  4 роки тому +5

      Ey CJ, it is more a matter of preference for the datetable. I usually create and modify the tables in PowerQuery when there is no good reason to do it with DAX.

  • @공근-x6w
    @공근-x6w 2 роки тому

    Hello. Thank you for the video. I have a question to ask you. What part should I adjust to make a date table that has a week interval from the start date to the present date?

  • @M_le-n4r
    @M_le-n4r 6 місяців тому

    Great explanation! But I'm wondering why you made a date hierarchy when you already made the month, quarter, day, etc.. it seems redundant? Why can't you use those ?

  • @flipped9654
    @flipped9654 2 роки тому

    Nice Vid! How do you add Fiscal Year/Quarter as new column?

  • @r0b1
    @r0b1 4 роки тому +2

    Hi Bas! Great video again. If i have 1million row, in minutes resolution, and want to slice, filtering, hours, days etc, what is the best solution? Create related one date and one time table, or just datetime table?

    • @HowtoPowerBI
      @HowtoPowerBI  4 роки тому

      the more unique values, the worse the data will be compressed. Therefore it is better to split it and make sure to truncate it to minutes (if you dont need seconds or hours if you dont need more granularity).

  • @UngoodMims
    @UngoodMims 7 місяців тому

    Lovely Video. Followed all through. Is this method still okay to apply today or is there a better way boss?

  • @shreyavats7008
    @shreyavats7008 Рік тому

    From where and which data you used ?

  • @mamunkhandakar944
    @mamunkhandakar944 2 роки тому

    Thank you! It was great, and easy to follow tutorial.

  • @rokiczaaa
    @rokiczaaa Рік тому

    I needed this film so much. Thanks :D

  • @kasperkaspersen361
    @kasperkaspersen361 2 роки тому

    If I want to list all dates between a larger interval etc. 50 years how would i solve the 365 or 366 days issue? Will +1 in the Duration.Days formula fix this for all years?

  • @Ronnet
    @Ronnet 2 роки тому

    Am I correct to assume the automated date tables also don't allow you to use Dax code that let you compare month to previous month? Only after applying a custom table did such calculations work. But I'm not 100% on whether this is due to the automated date tables or something else.

  • @2011mircea
    @2011mircea 3 роки тому +2

    When I try to Sort Day by column DayNo, I get the error "We can't sort 'Day' column by 'DayNo'. There can't be more than one value in 'DayNo' for the same value in 'Day'. Please chose a different column for sorting or update the data in 'DayNo' ". Does anybody know why? For the other columns the change of default sorting is working

  • @joefromdc
    @joefromdc 2 роки тому +1

    is there a way to show the current and previous month?

    • @HowtoPowerBI
      @HowtoPowerBI  2 роки тому +1

      your first need to build the date table like in the video .. then you can do the time/period calculations using dax (see vid here ua-cam.com/video/I8Y5fBGwqeQ/v-deo.html )

  • @svetlucemo4448
    @svetlucemo4448 9 місяців тому

    Thanks for the video, it is really useful, but not beginner friendly. There might be some crucial steps missing.

    • @HowtoPowerBI
      @HowtoPowerBI  9 місяців тому

      Which steps are missing?

    • @CairgyMmapetla
      @CairgyMmapetla 5 місяців тому +1

      @@HowtoPowerBI not a lot missed, ..just the Fx part where you did another step, a beginner wont know what happened. i spent some time trying to get happened. But tutorial is the best!

  • @ryanbartlett672
    @ryanbartlett672 2 роки тому

    Very informative. Thanks!

  • @vkncf7026
    @vkncf7026 3 роки тому +1

    This is really good information. Is it possible to highlight federal holidays on a line chart with a weekly sales and date table?

    • @HowtoPowerBI
      @HowtoPowerBI  3 роки тому

      thank you!! 😀 how would you want to show it, as a mark on the line?

    • @vkncf7026
      @vkncf7026 3 роки тому

      @@HowtoPowerBIThanks for the reply. As a Mark for sure....such that and a text such that over the line you can see for example we had Thanksgiving hence the reason sales were up or down. Only want to use it as a reference

  • @recipequeen7850
    @recipequeen7850 2 роки тому

    Hello, so I'm having this problem (i'm new to power bi). I have let's say types of loan portfolios in one column and then i have dates horizontally and information is filled out under each date for all portfolios. and I'm having problem with this format, because power bi doesn't recognize dates that are horizontally spread, at least not automatically, and I can't seem to build a chart for this time series and these portfolios, when i restructure the data and put all the data vertically including dates then it recognizes the dates. If someone has a solution much appreciated :)

  • @drapidel
    @drapidel Рік тому

    Bas, Thanks. I'm discovering your video, its brilliant. I nevertheless have a problem: I cannot sort the column Month by the column MonthNo. (it works for quarter). PBI says that there can't be more than one value in MonthNo for the same value in Month. Many Thanks

    • @HowtoPowerBI
      @HowtoPowerBI  Рік тому

      well,.. :p the error message gives it away .. makes sure that for each monthname there is only 1 corresponding monthnr .. also make sure there are no blanks

  • @humayunshahzad9181
    @humayunshahzad9181 2 роки тому

    Helps a lot. Thanks Dear

  • @alphamaniac9411
    @alphamaniac9411 3 роки тому

    Great! How do you change the Quarter to a Fiscal quarter which starts July 1st?

    • @HowtoPowerBI
      @HowtoPowerBI  3 роки тому +1

      THX! 😀
      First add fiscal month:
      if [Month]>=StartOfFiscalYear then [Month]-(StartOfFiscalYear-1) else [Month]+(12-StartOfFiscalYear+1)
      then fiscal quarter:
      divide by 3 and round up

  • @petesansom5737
    @petesansom5737 2 роки тому

    What would be the benefit of using this technique over DAX? Normally I just create a new table and drop some DAX like Calendar = ADDCOLUMNS((CALENDAR("01-01-2022", "31-12-2022")), "Year", FORMAT([Date], "YYYY"), "Week", WEEKNUM([Date], 1) ...... etc

  • @svendb7
    @svendb7 Рік тому

    Whoa, but what about the range of dates in my sql queries? My start dates aren’t aligned eeek!

  • @metecakmakk
    @metecakmakk 3 роки тому

    Great Content man thank you!!! I have a question for you, I have a table that contains Year, month, and day columns separately they are not in date form by the way. How can I convert them into a single date column?

  • @daviddecastro9653
    @daviddecastro9653 Рік тому

    Solid tutorial Bas - awesome

  • @monicanakka3824
    @monicanakka3824 2 роки тому

    How to select all the fields?plz help

  • @krzysztofjasion8549
    @krzysztofjasion8549 2 роки тому

    Great lesson. Tank you.

  • @cym0n
    @cym0n Рік тому

    Thank you! Very helpful!

  • @vimukthiamarasena6264
    @vimukthiamarasena6264 2 роки тому

    Great video.. is there any special advantage of using Power Query Date table over DAX date table?

  • @josevaldesv
    @josevaldesv 2 роки тому

    I didn't fully understand the reasons for hiding some columns and for disabling the date learning options

  • @claudinebeunens8721
    @claudinebeunens8721 3 роки тому

    Great video, thanks! You had 3 date fields in your dataset, same as in my dataset. I can link 1 to the Dim_Date but what if we want to have the same for the other date columns as well?

    • @HowtoPowerBI
      @HowtoPowerBI  3 роки тому +2

      Thank you Claudine! 😊You can make relations on all 3 (2 will be inactive, 1 active). In you measure you can then use the inactive relation ships as follows:
      = CALCULATE(SUM(fctSales[SalesAmount]), USERELATIONSHIP(fctSales[OrderDate], dimDate[Date]))

    • @claudinebeunens8721
      @claudinebeunens8721 3 роки тому +1

      @@HowtoPowerBI Great, this will overrule the primary connection! Thank you for providing this insight!

    • @Lucy-m7e
      @Lucy-m7e 9 місяців тому

      @@HowtoPowerBI Please could you do a video on this?

  • @adrotj
    @adrotj 2 роки тому

    Very helpful Bas!

  • @FernandoRamirez-ce2ou
    @FernandoRamirez-ce2ou 3 роки тому

    Awesome, that's exactly was what I was struggling with thx

    • @HowtoPowerBI
      @HowtoPowerBI  3 роки тому

      Glad to hear it helped! 😀 thx for watching Fernando

  • @D4rkm00r
    @D4rkm00r 2 роки тому

    This is so whizzy! How did it take me a year to find? Thanks !

  • @franziskaklingberg6857
    @franziskaklingberg6857 3 роки тому +1

    This was very helpful!
    Could you do one on adding a time table and then add this to the hierarchy?

    • @HowtoPowerBI
      @HowtoPowerBI  3 роки тому +1

      thx for the idea Franziska, will put it on my list! 😀

  • @SoOS186
    @SoOS186 Рік тому

    The function works great.. but when i add it to my data i get errors which makes the query impossible to load. I replaced errors and nulls with zeros. Still same. Im not able to use the function. My dates are dates type and i have no negative results 😢. Help!

  • @kunalgupta5667
    @kunalgupta5667 2 роки тому

    Hi sir, learn a lot from your videos 😊

  • @thebanker06
    @thebanker06 Рік тому

    I tried to mark as date table but field is grayed out ! Is there a problem

  • @ChristianPecksteiner
    @ChristianPecksteiner 6 місяців тому

    Great Video! However: Sorting the Day by the DayNo doesn't work. It says that in DayNo it is not allowed to have the same value more than once in Day. Weird! Month and Quarter work fine.

  • @scramiro1
    @scramiro1 4 роки тому

    Could you do a best practice video for creating data tables? For instance, I used DAX, but I think the italians recomend to use string instead of integers? Also, for instance, in filter cards, I don't know how to order the years o select automatically always the last year. Thanks!

    • @HowtoPowerBI
      @HowtoPowerBI  4 роки тому +1

      Hi Sergio, thanks for the ideas! I will probably do a video soon on creating a date table with dax as well and touch upon the topics you mentioned.

    • @scramiro1
      @scramiro1 4 роки тому +1

      @@HowtoPowerBI thanks. I've been told that content on filter cards can't be sorted. That's why mainly people prefer to create their own filter pane. You did a video on filter pane, but what are the benefits Vs filter pane? Why should I create a custom filter pane? More ideas 😉

  • @ARandomDataNerd
    @ARandomDataNerd 4 місяці тому

    So this is not working for me, I followed everything perfectly. When I create the visualizations The hierarchy is show all blanks. When I move the data to a table it is looking like the relationship is not really being created even know I have it set. Is this way now obsolete?

    • @ARandomDataNerd
      @ARandomDataNerd 4 місяці тому

      This is not obsolete, found the error. I needed to make sure the column I am building a relationship to has to be DATE in power query not just on the table. I had to make adjustments to the week column since they were not matching ISO.

  • @omaraissa318
    @omaraissa318 2 місяці тому

    i want to get startdate and EndDate dynamicaly

    • @HowtoPowerBI
      @HowtoPowerBI  2 місяці тому

      then instead of hardcoding the end date you can return the max of the sales date or whatever date field that you wanna base it on

  • @andreasschmidt7665
    @andreasschmidt7665 4 роки тому

    Dear Bas, again a very helpful video. I've been looking for a long time for a solution to have a field in the calandar table descending sort year - month number. The reason is a descending sort in a matrix. Have you got any idea how to bulld such a field ?

    • @HowtoPowerBI
      @HowtoPowerBI  4 роки тому

      Hi Andreas, thank you! you could build a separate year desc and year desc sort column. Then do that as well for the month. I added an example in the download (see description).

    • @andreasschmidt2766
      @andreasschmidt2766 4 роки тому

      @@HowtoPowerBI Hi Bas, thanks a lot for immediate reply. I show in my matrix only one field Year/month (Text.End(Text.From([Year]),2) & "-" & [Month]) and I have build the appropriate sort field with ([MonthNum] + [Year]*100). However, I could not find to get the Year/Month field converted in descending order.

    • @HowtoPowerBI
      @HowtoPowerBI  4 роки тому

      @@andreasschmidt2766 I have updated the example in the download file (datetable_sort_desc.pbix) . The main idea is that you have a YearMonth Desc sort order (multiply by one) (make sure it has data type whole number). Let me know if it is clear from the updated example.

    • @andreasschmidt7665
      @andreasschmidt7665 4 роки тому

      @@HowtoPowerBI Hi Bas, you are very smart, the key is the YearMonth Sort field. Yes it is very clear now. Thanks a lot again.

    • @amuthavanoptisol9997
      @amuthavanoptisol9997 3 роки тому

      @@HowtoPowerBI you are genius ! I'm breaking my head for this. Thankyou.

  • @yanelena8603
    @yanelena8603 2 роки тому

    I am a beginner and Bas's videos really help me a lot. I cannot find how to make multiple selections of the fields and cannot find Filed Properties. Could anyone, please, help me with that?

  • @shrikantthakur7127
    @shrikantthakur7127 2 роки тому +1

    Nice please Add Fiscal Year April 21 to Mar 22