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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

cumulative count day over day/week over week/Month over month

Hi,

Attached a sample pbix.

https://drive.google.com/file/d/1ripLoGNkbKOZvUf3oZtgtEBMNafQF7jP/view?usp=sharing

I would like to have cumulative count of users who are inactive each day  or end of each week or end of month.I tried the below but it doesnt give me the output and query times out.Pls help.Attached is the sample data and expected output.book1.PNG

Note: Last_accessed is related to Date (active). Snaphotdate and Date are related as inactive.

My meaure:

CALCULATE (
COUNTROWS( Dim ),Dim[Activity]="Inactive",USERELATIONSHIP ( Date[Date], Dim[SnapshotDate] ),FILTER(allselected(Date),Date[Date]<max(Dim[snapshotdate])))
This measure correct running counts by Day as you see below:
Ex_1.PNG
The issue is i am not able to all inactive see users data when i bring in username column into column chart.It just gives me 3 users instead of 59 users name(because it only picks ones from active relationship not from inactive) ,can you please point out how to fix this.:
issue.png
I want see the output in my visual like one highlighted :
Ex.PNG
0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors