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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
ann33
Frequent Visitor

Previous day sales in direct query

Hi All,

 

I have report in direct query.I wanted to get the previous day sales.How can I achieve this in direct query.

 

Thank yOU

1 REPLY 1
DataVitalizer
Super User
Super User


Hi @ann33 

You can use the function PREVIOUSDAY which is supported with measures in Direct Query mode
https://learn.microsoft.com/en-us/dax/previousday-function-dax


Did it work ? 👌 Mark it as a solution to help spreading knowledge 👉 A kudos would be appreciated

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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