Forum Discussion

joeydeacan's avatar
joeydeacan
Regular Visitor
8 years ago

Display the date

Morning all,

 

I wonder if someone could help, I been experimenting with Power BI and Ive got to say I love, Im fairly new to both BI and SQL tho.

 

I am linking directly to a SQL direct Query, everything on my dashboard is perfect, apart for the Date is displayed without the day of the week, I have tried going into the formatting but DDDD is not aviable just DD.

 

Below is an example of what I have got :-

 

If anyone could walk me through it I would be most grateful. everything I have tried says cannot be performed on a Direct Query.

 

deliveredTotal_UnitsTriplesTghTghAreaLamFloatFloatAreaShapesGeoQLeadQSix_mmSix_mmUnitAreaOver_199

29/08/2017 00:00:00656null337657.2930289235.062824171732.8931
01/09/2017 00:00:0046033196223.41null259187.55null834nullnullnull
24/08/2017 00:00:00921null422709.59169335260.76324718921.3515
30/08/2017 00:00:001197null450671.7859688535.644223425.1823
25/08/2017 00:00:00110161549859.0884469385.04831133295.0219
31/08/2017 00:00:007592327489.6720412332.962236625.793

6 Replies

  • mede's avatar
    mede
    Resolver I

    Calculated Column:

    Day = FORMAT(Dim_Date[Date], "dddd")

    • joeydeacan's avatar
      joeydeacan
      Regular Visitor

      Thanks,

       

      Any chance you could walk me through a little, ideally i would like to format to be dddd/dd/mmm

       

      So day, then date then month ?

      • mede's avatar
        mede
        Resolver I

        Hi joeydeacan

         

        I am not 100% sure if you are able to add calculated column in direct query mode.

        But normally, you can get that format by simply adding calculated column:

         = FORMAT(Dim_Date[Date], "dddd/dd/mmm")