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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

urgent help needed with histogram or count of activity days -- please review explanation

I want to create a visual/measure that calculates the total number of days in a given month (in this example, it would be FEBRUARY 2020) a person was active (activity completed = true). 

I have this Activity table:

UserIDActivityIDActivity completedDate AssignedDate Completed 
144True2/1/20203/1/2020 
260True2/1/20202/10/2020 
360False2/1/2020  
12533False2/1/2020  
2345True2/1/20202/20/2020 
3435True2/1/20202/2/2020 
1366False2/1/2020  
2345True2/1/20202/20/2020 
3354True2/1/20202/25/2020 

 

I want the output to be a graph that has the number of days active on the x axis and then the y axis is the count of users. 

In chart form it owuld be:

Days activeCount of users
1 
22
3 
4 
5 
6 
7 
etc. to 30 
  

The reason it is 2 in 2 days active is because userID 2 completed 2 items on the same day (3 line items, only 2 unique days)  and it doesn't count user ID because that person completed the action item in march not february and i'm tracking for february

 

@Greg_Deckler you've been incredibly helpful to me this week, let me know if you have any ideas! Thank you so much!

2 REPLIES 2
v-xuding-msft
Community Support
Community Support

Hi @Anonymous ,

You could reference the patterns:Dynamic Segmentation to have a try.

 

Best Regards,

Xue Ding

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-xuding-msft I need help writing the actual measure though - might you be able to assist me with that?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors