This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hello,
I'm trying to set up a summary table of week number, route, tickets sold, available seats, and occupancy rate.
Week number comes from a date table. Route and tickets sold are from one table and available seats are in another table. Occupancy rate is a calculated measure dividing tickets sold by available seats.
The problem I'm having is that in the available seats column power bi is adding the number of available seats from both routes despite my filtering by each route on the table visual.
I'm attaching my .pbix here: https://drive.google.com/file/d/1t_YiwUDUw4N_BUQG6W3dbmQ5lyg11LNS/view?usp=sharing
Thanks in advance.
Solved! Go to Solution.
Hi @JuanBolas ,
Please add the Filter 'For Occupany‘[Route] is PJL -PBA (or 'For Occupany‘[Route] is PBA-PJL) to the two tables:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @JuanBolas ,
Please add the Filter 'For Occupany‘[Route] is PJL -PBA (or 'For Occupany‘[Route] is PBA-PJL) to the two tables:
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 31 | |
| 26 | |
| 23 |