Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi,
I have this dataset for example:
Hotel | Day | Price |
A | 1 | € 150.00 |
A | 1 | € 130.00 |
A | 1 | € 200.00 |
B | 1 | € 150.00 |
C | 1 | € 145.00 |
C | 1 | € 135.00 |
D | 1 | € 200.00 |
D | 1 | € 190.00 |
A | 2 | € 190.00 |
B | 2 | € 160.00 |
B | 2 | € 120.00 |
C | 2 | € 120.00 |
C | 2 | € 178.00 |
D | 2 | € 170.00 |
So for each day I have Hotels with different prices (different rooms). What I want to do is to calculate the average by hotel of their lowest rate. First calculate the MIN value for each hotel by day and then create the average of those days (in this example day 1 and 2. So then I can have a graph like this:
Or maybe create a column that only return the lowest price for each hotel and the other rows return 0, and then I can create an average of that column excluding zeros.
I have tried a lot of calculations but none of them seem to work. Can you help me with this?
Thank you!
Manuel Banza
Solved! Go to Solution.
Try this:
Try this:
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
107 | |
68 | |
48 | |
44 | |
43 |