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
yakovlol
Resolver I
Resolver I

Show Users with NO values for last 3 month

Hello!

 

Could you please help me to create a measure that will show Users and their Projects with no values for the last 3 month?

I have a matrix like below. And I want to leave in a table only the user_id in this example 2 and project_id 21,22 where is no values for the last 3 months 

yakovlol_1-1688509334178.png

 

 

Based on my Tables if user have no value there is no record in my table. I'm sowing No values with "Show data with no values"
For the months in column i'm using Calendar table.

 

Attaching the link to pbix.file

 

Could you please help if there is any chance to get such users with no values for last Xmoths?

Thank you for any suggestions.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@yakovlol , Create a measure like , with help from date table joined with date of your table

 

Rolling 3 = CALCULATE(Countrows(Table),DATESINPERIOD('Date'[Date ],MAX('Date'[Date]),-3,MONTH))

 

Then create a measure like

 

not present =  if(Isblank([Rolling 3]), "Not Present", "Present")

 

not present = countx(values(Table[User]), if(isblank([Rolling 3]), [User], blank() ) )

 

refer

Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@yakovlol , Create a measure like , with help from date table joined with date of your table

 

Rolling 3 = CALCULATE(Countrows(Table),DATESINPERIOD('Date'[Date ],MAX('Date'[Date]),-3,MONTH))

 

Then create a measure like

 

not present =  if(Isblank([Rolling 3]), "Not Present", "Present")

 

not present = countx(values(Table[User]), if(isblank([Rolling 3]), [User], blank() ) )

 

refer

Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thank you! article is very helpfull

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

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.