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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Ahmedkhan0503
New Member

I am looking for dax

I have a table in whic i have 

Date and email is 

I want to create a table in which i can view the last 30 days not active emailis id and count of that emails id

 

Regards

Ahmed 

    

 

   

1 REPLY 1
amitchandak
Super User
Super User

@Ahmedkhan0503 , for not active you should prefer an email table with distinct email ids and joined to this table.

 

Then create a measure like

Last 30 days  = calculate(count(Table), filter(Table, Table[Date]>=today() -30 && Table[Date]<=today()))

 

not active in 30  =if(isblank([Last 30 days]), 1, blank())

 

not active in 30  count =sumx(values(Email[Email]), if(isblank([Last 30 days]), 1, blank()))

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.