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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Sonam1301
New Member

Dax For TopNCustomers

Hey Everyone, 

I have two tables first 'Sales Data' from which I am focusing on columns 'Order Date', 'Shipping Mail Id' and 'Order Number' 

The second table is Calendar which is linked with the Sales Data table on the basis Calendar[ Date] and Sales Data[Order Date]. 

 

I want to know about the Top 5 customers' Order Count Grand total of every month. 

 for example I want a table like this. 

 

YEARMONTHORDER COUNT
2023JULY88
2023JUNE108
2023APRIL107

 

 

And the order count come from another table:

top 5 customer of month July

Shipping Mail IdOrder Count
x@gmail.comxx
y@gmail.comxx
h@gmail.comxx
n@gmail.comxx
k@gmail.comxx
grand total88
1 REPLY 1
v-binbinyu-msft
Community Support
Community Support

Hi @Sonam1301 ,

In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?

Thanks for your efforts & time in advance.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.

Top Kudoed Authors