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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
CSPedrao
New Member

Dax Query view - date format contains time

Hi,
I've created a Power automate flow that has a Dax query to extract data from Power BI, however the date is being exported with time.
I tried using the format on the Dax query but it's not working, can anyone advise how I can format the date to '"dd/mm/yyyy" so that it exports it without time?

Many thanks

 

DAX query 

DEFINE
    VAR __DS0Core =
        SUMMARIZE(
            'Missed_Bin_Attributes',
            'Missed_Bin_Attributes'[UPRN],
            'Missed_Bin_Attributes'[ServiceCode],
            'Missed_Bin_Attributes'[Status],
            'Missed_Bin_Attributes'[Date Requested],
            'Missed_Bin_Attributes'[Date Closed],
            'Missed_Bin_Attributes'[Name]
        )
EVALUATE
    __DS0Core
1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @CSPedrao ,

 

try like:

DEFINE

    VAR __DS0Core =

SELECTCOLUMNS(

        SUMMARIZE(

            'Missed_Bin_Attributes'[Date Closed] ),

       "Date Closed", 

       FORMAT([Date Closed], "YYYY/MM/DD)

)

EVALUATE

    __DS0Core

View solution in original post

4 REPLIES 4
lbendlin
Super User
Super User

Why? Power Automate works on Datetime as well, as does Power BI.  "Date"  is just a format. not a data type.

@lbendlin I think that you have miss understood me but thank you for your comment anyway

 

FreemanZ
Super User
Super User

hi @CSPedrao ,

 

try like:

DEFINE

    VAR __DS0Core =

SELECTCOLUMNS(

        SUMMARIZE(

            'Missed_Bin_Attributes'[Date Closed] ),

       "Date Closed", 

       FORMAT([Date Closed], "YYYY/MM/DD)

)

EVALUATE

    __DS0Core

@FreemanZ Thanks for your advice, it worked 🙂

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.