Most recent order sales from customers

0 votes
How to show sales of a recent order and the first order made by customers from the store?
May 2, 2019 in Power BI by Nithin
782 views

1 answer to this question.

0 votes

Hi Nithin,

You can use LASTDATE() to fetch the last purchased date of customer order and FIRSTDATE() to fetch the first date for customer purchase.

first sales = CALCULATE(SUM(Orders[Sales]),FIRSTDATE(Orders[Order Date]))

recent sales = CALCULATE(SUM(Orders[Sales]),LASTDATE(Orders[Order Date]))

answered May 2, 2019 by Cherukuri
• 33,050 points

Related Questions In Power BI

0 votes
1 answer

Bar chart : Arranging in descending order using data from another chart

Select treemap.  Make it active.  Turn on Visual Interactions ...READ MORE

answered Feb 8, 2019 in Power BI by Upasana
• 8,620 points
1,070 views
0 votes
1 answer

Automating Monthly Sales Data Consolidation from SharePoint

Power Query has been used to automate ...READ MORE

answered Mar 5 in Power BI by anonymous
• 24,110 points
50 views
0 votes
1 answer

How do I implement a dynamic segmentation analysis where customers are grouped based on sales trends?

To achieve dynamic segmentation of customers based ...READ MORE

answered Mar 18 in Power BI by anonymous
• 24,110 points
62 views
0 votes
1 answer

Why should I shift from MS Excel to Power BI

There are a lot of advantages from ...READ MORE

answered Sep 26, 2018 in Power BI by Kalgi
• 52,350 points
874 views
0 votes
1 answer

Displaying Table Schema using Power BI with Azure IoT Hub

Answering your first question, Event Hubs are ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,090 points
1,575 views
+1 vote
1 answer

Unable to install connector for Power Bi and PostgreSQL

I think the problem is not at ...READ MORE

answered Aug 22, 2018 in Power BI by nirvana
• 3,090 points
2,912 views
+2 votes
2 answers

Migrate power bi collection to power bi embedded

I agree with Kalgi, this method is ...READ MORE

answered Oct 11, 2018 in Power BI by Hannah
• 18,520 points
1,696 views
+1 vote
1 answer

Connect power bi desktop to dataset and create custom reports

Open power bi report nd sign in ...READ MORE

answered Oct 10, 2023 in Power BI by Monika kale

edited Mar 5 1,855 views
0 votes
1 answer

How to add slicer from a different tables?

Hi, Join is normally performed to get ...READ MORE

answered Mar 1, 2019 in Power BI by Cherukuri
• 33,050 points
4,607 views
0 votes
1 answer

Calculated column with the sum of values from many columns in a row

Hi, You can create a new column by ...READ MORE

answered Mar 14, 2019 in Power BI by Cherukuri
• 33,050 points
2,825 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP