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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Count Not existing values in last quarter

Hello,

 

I can't compare values over time like i would like.

I have queries to retrieve distinct resellers each month :
Resellers QTD = var _max = maxx(ALLSELECTED(Revenue),Revenue[Period]) return
TOTALQTD(
DISTINCTCOUNT('Partner'[Reseller Ref]),
DATESQTD(Revenue[Period]),
FILTER('Partner','Partner'[Date Validation] <=_max && 'Partner'[Date End] >=_max)
)
Resellers Q-1 = var _max = maxx(ALLSELECTED(Revenue),Revenue[Period]) return
TOTALQTD(
DISTINCTCOUNT('Partner'[Reseller Ref]),
DATEADD(Revenue[Period],-1,QUARTER),
FILTER('Partner','Partner'[Date Validation] <=_max && 'Partner'[Date End] >=_max)
)
...

 

After i use my measures to retrieve diff net value:
Net New QTD = [Resellers QTD]-[Resellers Q-1]
Net New Q-1 = [Resellers Q-1]-[Resellers Q-2]
...

 

Now i would like to retrieve the distinct NEW resellers.
This mean if i have a DISTINCT('Partner'[Reseller Ref]) exists @ QTD but not present in Q-1, i would like to count him.

 

I tried something like this but it seems not working:

Expension Q-1 =
CALCULATE(
[Resellers Q-1],
FILTER('Subscription Partner', [Resellers Q-1] <> [Resellers Q-2])
)

 

Any idea ? I don't want the NET NEW !

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Check these two blog on customer retention can help you get what you need

 

Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retention/ba-p/1377458

 

 

else

 Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Check these two blog on customer retention can help you get what you need

 

Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/ba-p/1361529
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retention/ba-p/1377458

 

 

else

 Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.