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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
rafarother
Frequent Visitor

New buyers analysis per month in a graph

Hello! 
I had a client bases with all infos and another base with sales. 
I wanna see if a buyer is new or bought something last month. 
I can´t show my dataset, but I have a model:

Clientrafarother_0-1625510157716.png       
                         
 Sales   rafarother_1-1625510169303.png

Buyers last month is a created column basically: IF((sum(Sales[Sales]), [Last Month Measure]) > 0,01, "Buyer Last Month", "New Buyer") 
When I build a graph with Buyers( a distinct count for Code ins Sales table) in values, date in x axis and "Buyer Last Month" in legend, this is the result:

rafarother_2-1625510788078.png

 

This is the expected result. 
But I wanna make a dynamic report, that calculate buyers last month/new buyers for each month. 
How can I do that?



1 REPLY 1
daxer-almighty
Solution Sage
Solution Sage

The problem is not clearly enough defined to admit a unique solution.

 

Please consult this: New and returning customers – DAX Patterns

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.