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.
Hello All ,
I am a beginner in Power BI Desktop. I am trying to build dashboards about developers activity ( LOC ,Churn, Files changed, Files aded ,Files added , Commits, Impact .. ) .
I have generated my own data using Python that lists all commits by each developers and the dates are taken randomly. I would like to create a measure using Dax that counts the number of days within any given time period (Range silder) that an developer was taking any action.
Here is my data table exemple:
My Dashbord :
Thanks All.
Solved! Go to Solution.
It looks like your [Date] column is a date/time. You will need a column that is just the active date, then you can do a count measure like:
Active Days = DISTINCTCOUNT(Git_Data_[Active Date])
It looks like your [Date] column is a date/time. You will need a column that is just the active date, then you can do a count measure like:
Active Days = DISTINCTCOUNT(Git_Data_[Active Date])
thank you @jdbuchanan71 for your response. I have already tried it with active days(only Date) but it doesn't work because the measure returns the same value even when I try several date ranges.
I don't know why that would be. It's a pretty straight forward calculation. My example has customer_id but is shouldbe the same for developer.
Can you share your .pbix?
think I fixed the problem by defining again the date and the fault is also because of the data which is generated is almost equal for the developers.
Yes of course here is the .pbix :
https://1drv.ms/u/s!Au8vNAEE9U3-oGyp_XkYoMqhuLmU?e=aJHEbE
if it's wrong im here, thanks
Hmm, I am not able to open that file but it sounds like you got it working so no need for me to look at it.
thank's a lot man!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |