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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors