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
egiam
Frequent Visitor

How do I create a dax calculation to give me the previous LFQ quarter data?

Hi,

I have e filter that I created in my dashboard.  It has MTD, LFM, LFQ, YTD.  I have information on my dashboard, for example, # of active buyers that will change based on the filter.  I need to add another section on my dashboard that has the # of active buyers for the previous quarter (meaning if Last Full Quarter was Jan- Mar 2022) this would be Oct-Dec 2021.  I also need to show the % change between the LFQ and the previous LFQ.  Anyone know how to create a dax formula to come up with the previous LFQ.  Any help is appreciated. Thanks!

 

egiam_1-1655134718069.png

 

 

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @egiam ,

Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.

Best Regards,
Community Support Team _ kalyj

v-yanjiang-msft
Community Support
Community Support

Hi @egiam ,

According to your description, try to use the previousquarter function like this:

PREVIOUS LFQ =
CALCULATE ( [LFQ], PREVIOUSQUARTER ( [Date] ) )

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.