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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Histogram Graph Chart Help

I am trying to make a power user curve where I look at my data and see what % of my user population completed an activity (Y axis) and how many days of the month did they complete an activity (x axis).  This is COMPLEX and I would love a patient guru's help. This image is the output: Screen Shot 2020-02-05 at 1.42.39 PM.png

To be clear, the x-axis isn't a calendar date, but a count of the unique days that a given person completed an activity in a given month.

Also, this is for a specific month, not an average of all months 

Also, I am only calculating ActionItemStatus "Completed", not pending. 

 

I have a data table called Activities:

UserIDActionItemStatusDate
1Completed2/1/2020
2Completed2/1/2020
3Completd2/1/2020
1

Pending

2/1/2020
2

Pending

2/10/2020
3Completed2/10/2020
1Completed2/10/2020
2Completed2/20/2020
3Completed2/20/2020
1

Pending

2/20/2020
2Pending2/22/2020
3Completed2/22/2020
1Pending2/22/2020
2Completed2/22/2020
3Completed2/22/2020
1Completed3/1/2020

 

Please let me know if you have any ideas of how to solve this. I think the first step of this that would be most helpful, would be to guide me through how to get to the answer of how to create the measures for counting how many days active in a month (how many unique days did a user id complete an action item in the month) and how to show that in a 1,2,3,4,5,6 etc. matrix -- we can get to the graph from there in step 2 potentially? 

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

First to calculate how may days every user uses to complete an action item,

we need to recognize different action items for every user, but i can't see any columns regarding the "action item".

if a user needs days which come across different months, how to define the "active days".

 

It is appreciated of you to share more detailed information.

 

Best Regards

Maggie

vivran22
Community Champion
Community Champion

Hello @Anonymous ,

 

You may use following measure:

 

% Completed =
VAR CompletCount =
    COUNTX (
        FILTER ( dtTable, dtTable[ActionItemStatus] = "Completed" ),
        dtTable[UserID]
    )
VAR Denom =
    CALCULATE ( [Complete Count], ALLSELECTED ( dtTable ) )
VAR _PerCont =
    DIVIDE ( CompletCount, Denom )
RETURN
    _PerCont

 

Cheers!
Vivek

If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂

https://www.vivran.in/

Connect on LinkedIn

Helpful resources

Announcements
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!

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.

Top Solution Authors