cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MuraliManohar Frequent Visitor
Frequent Visitor

How to get previous month sales using dax

I have multiple years and months data in this how to get recent previous month total sales .How system identify previous month on multiple years .

My requirment is once open dashboard I want Previous month total sales in card visualization . I will not select perticular date , automatically sytem will undersatand what is current month and current year based on it will give current previous month total sales .

1 ACCEPTED SOLUTION

Accepted Solutions
CheenuSing Super Contributor
Super Contributor

Re: How to get previous month sales using dax

Hi @MuraliManohar 

 

Please check

https://community.powerbi.com/t5/Desktop/Calculating-a-value-based-on-current-and-previous-month/m-p...

 

Cheers

 

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
CheenuSing Super Contributor
Super Contributor

Re: How to get previous month sales using dax

Hi @MuraliManohar 

 

Please check

https://community.powerbi.com/t5/Desktop/Calculating-a-value-based-on-current-and-previous-month/m-p...

 

Cheers

 

CheenuSing

Did I answer your question? Mark my post as a solution and also give KUDOS !

Proud to be a Datanaut!

View solution in original post

MuraliManohar Frequent Visitor
Frequent Visitor

Re: How to get previous month sales using dax

Thanks it's useful based on that implemented getting correct result . 

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 315 members 2,844 guests
Please welcome our newest community members: