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
Anonymous
Not applicable

How to get Top 5 of Yesterday only Sales by Product

Hi Team,

is there any way we can get Top 5 Product by Sales (Yesterday only sales)?

Thank you in advance

3 REPLIES 3
Fowmy
Super User
Super User

@Anonymous 

Yes possible, share some sample data and show the desired result.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

I have a date slicer. Let's say date range is from 1 Jan to 10 Jan Also I have country and sales amount.

 

So my question is how can I get yesterday(9 JAN) best selling top 5 countries by using Dax. Any help?

 

I tried by using Top N filter option but unable to filter only Yesterday date based on calender slicer

Hi @Anonymous ,

You can refer the following blogs to achieve it.

Top and Bottom 10 Products by Sales Using RANKX in Power BI

Showing the top 5 products and Other row

If the above ones are not applicable for your scenario, please provide your sample data(exclude sensitive data) and expected result in form of table. Thank you.

Best Regards

Rena

Community Support Team _ Rena
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.