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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Utilization/ Occupancy (percentage over time) for different charging stations

Lets say, I have data with different charge stations used for last 60 days with start time and end time. I also created two calculated tables "DimDate" with dates, week, day and another table "time" which has two columns "time start" and "time end" to make 1 hour time interval each row. How to proceed with these to find utilization of different stations (percentage over time). Kindly help!

4 REPLIES 4
Anonymous
Not applicable

khandakaer_0-1680402289190.png

For instance, it is the dataset (sample). The charge port id column has same id several times used in last 60 days. I want to find the occupancy (percentage over time) where y axis will show percentage of occupancy and x axis different charge ids in the line chart. 

 

I have created "time" table which shows all time hourly intervals

khandakaer_1-1680402566324.png

Another table "CharginDataReshaped" was created which contains rows for each charge Id & hourly interval during which that charge id is active. When I create a measure called

Occupancy = DISTINCTCOUNT(CharginDataReshaped[ChargePoint ID]). The line chart gives me a nice curve with %occupancy, time but no information when I choose charge id (it shows 100% occupancy for any id). How can I change it so I get different percentage of occupancy for different charge ids

hi @Anonymous 

try to bring more context, e.g. is %occupancy a measure? You mentioned three tables, how are they related?

Anonymous
Not applicable

Yes, Occupancy is measure. Our main dataset is charging data (first one). I created next two tables to make a modified table with hourly interval on specific dates during which charge ids were active. Let me know if you have any alternative way? Thanks

FreemanZ
Super User
Super User

hi @Anonymous 

it would be easier for all, if you could also post some sample data.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.