Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
joeydeacan
Regular Visitor

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 6
mede
Resolver I
Resolver I

Calculated Column:

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

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 ?

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")

Cheers mate , but I dont think I can do that on DirectQuery Mode.

 

Maybe I can do something with the Query, but Im not that good either.

This is also easy to achieve in query editor.

 

Select your date column; go to "Add Column" tab; Date dropdown; you generate three new columns: Day Name, Day, Month Name

image.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Then, simply merge those three new columns using a delimiter such as "/" to get the format you need:

image.png

 

Let me know if this works.

 

If query editor is also not allowed, then you are supposed to do it in SQL directly in the data source.

**bleep** thanks man , it does work, but not in DirectQuery tho, wont let me add it in.

 

Arrrgggghhhh so close, thanks for your help tho .

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.