Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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:
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
89 | |
82 | |
54 | |
40 | |
35 |