March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
You can say I am new to Power BI.
I have the following table which contains a startDate and endDate of car usage. I have calculated the durations in HOURS in a new column "Duration_Hours" using the formula: DATEDIFF(Car_Usage[Start_Time]; Car_Usage[End_Time];HOUR).
I want to plot a Pie Chart showing the percentage of total hours of durations out of total hours of a selected month.
So for example, if I select "January 2018" in a filter I would get the usage hours in January out of 744 hours (hours of January = 31 * 24).
How can I do this?
Thanks
I'm thinking that the tricky part here is for usage that spans months, correct? Is that what you are concerned about?
I am trying to find a way to link a calendar to my durations (For example, a calendar starting from 01/01/2018 and ending on the maximum date in my table), so that when I filter by month I get the durations inside this month and I view a pie chart of, for example: 40% usage out of total month's hours. I am finding difficulty linking durations to time filter.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
129 | |
90 | |
75 | |
58 | |
53 |
User | Count |
---|---|
200 | |
104 | |
101 | |
67 | |
55 |