Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
I have facts which are room reservations and the room which are the dimention (or better 1 of the 5 dimensions). The reservations facts table has a date intelligence table linked to the reservation date.
I now want to make a visual heatmap to show in colour how heavy those rooms are reserved. The base for that would be the 'average total week reservation duration'
I can easily add up all 'reservation.duration' hours. But that depends on the period over which the report goes. So I want to normalise (=average) that total duration of reservtions whith the number of weeks in the filter range (on the reservation date, which has time intelligence).
So I always get (in our case) values between 0 (not used) , over 40 (8h on 5d), to maybe 60 in case of extreme use. And such, irrespective of how many weeks are covered by the report.
If 1 week is in the date filters, then it's that week duration. but if it's 10 weeks in the date filter, then it's the average week total, over those 10 weeks.
I tried several things but never get even close to this 'normalisation' based on the filter
I hope my quenstion is clear.
thx,
Christof
Solved! Go to Solution.
found it myself
added
found it myself
added
I mean, I want to aggregate on the building, which is the same for room 1 and 2
@cdebackere Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
no problem.
in the mean while i got it working to some degree by adding the following measure to the rooms dimention:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
73 | |
56 | |
38 | |
31 |
User | Count |
---|---|
83 | |
64 | |
63 | |
49 | |
45 |