Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hey everyone, I am needing to find the amount of time a network is online per month. I have the total minutes each network is online per month.
how can I go about doing this?
Solved! Go to Solution.
You can use the DATEDIFF function with MINUTE as the interval to calculate the total minutes between two dates.
If you have a date dimension I would use that as the basis, and try a measure such as this:
% Time Online =
VAR __TimeOnline = [TimeOnlineMeasure]
VAR __MinDate = MIN( Dates[Date] )
VAR __MaxDate = MAX( Dates[Date] )
VAR __TotalMinutes =
DATEDIFF( __MinDate, __MaxDate, MINUTE )
RETURN
DIVIDE( __TimeOnline , __TotalMinutes )
TimeOnlineMeasure is the placeholder for the calculation that gives you the total minutes the network was online.
You can use the DATEDIFF function with MINUTE as the interval to calculate the total minutes between two dates.
If you have a date dimension I would use that as the basis, and try a measure such as this:
% Time Online =
VAR __TimeOnline = [TimeOnlineMeasure]
VAR __MinDate = MIN( Dates[Date] )
VAR __MaxDate = MAX( Dates[Date] )
VAR __TotalMinutes =
DATEDIFF( __MinDate, __MaxDate, MINUTE )
RETURN
DIVIDE( __TimeOnline , __TotalMinutes )
TimeOnlineMeasure is the placeholder for the calculation that gives you the total minutes the network was online.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |