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
tecumseh
Helper V
Helper V

DAX Query Returns Blanks Where Date Is Expected

Hi,

I expected dates in the highlighted columns, but DAX Query is returning blanks.
I want to control the format of the date when I copy/paste to Excel.
What am I doing wrong?

   "Booking_Date", FORMAT(SELECTEDVALUE(Bookings[Date]),"MM/DD/YYYY"),
   "Created_Date", FORMAT(SELECTEDVALUE(Bookings[Order Created]),"MM/DD/YYYY"),
   "Snapshot Date",FORMAT(TODAY(),"MM/DD/YYYY")





DAXQuery_BlankCols.png

1 ACCEPTED SOLUTION
tecumseh
Helper V
Helper V

Thanks @GilbertQ 

I ended up connecting from Excel using Analysis Services so I can format the dates in Power Query if neeed.
They imported as Date Time so changed data to Date - good to go.

Thanks,

w

 

DAXQuery_DatesFixed.png

View solution in original post

2 REPLIES 2
tecumseh
Helper V
Helper V

Thanks @GilbertQ 

I ended up connecting from Excel using Analysis Services so I can format the dates in Power Query if neeed.
They imported as Date Time so changed data to Date - good to go.

Thanks,

w

 

DAXQuery_DatesFixed.png

GilbertQ
Super User
Super User

Hi @tecumseh 

 

One thing to note is if there is no data, Power BI will show it as blanks and that is why you are seeing the blanks. With regards to formatting your date. You actually need to format the date in your Power BI desktop report as shown below.

 

GilbertQ_0-1762208001056.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

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.