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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vozniak
Helper I
Helper I

How can I create dynamic date field in direct query report?

I have a report that a colleague developed that uses direct query against our Oracle database. There are multpile hundreds of thousands of entries in the database that we need to query against in real time so it needs to be direct query. However, I need to fit it to our standard and therefore need to put a dyanmic field that gives the date and time the report was generated. I know how to create a date table, and I know how to create the dynamic field to show the date and time, but in a direct query report I can't create a new table.

 

Is it possible to create a dynamic date field showing the current date and time in a report that uses direct query? I can't make any changes to the Oracle database we are drawing from.

 

Any suggestions would be appreciated.

 

Thanks!!

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @vozniak,

 

You can create a measure to display current date and time in a card visual:

New measure=NOW()

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Employee
Employee

Hi @vozniak,

 

You can create a measure to display current date and time in a card visual:

New measure=NOW()

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you!!

 

For some reason I can't select "Accept as Solution" but this what I was looking for. My brain just wasn't going in the right direction.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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