The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.
User | Count |
---|---|
65 | |
62 | |
59 | |
54 | |
28 |
User | Count |
---|---|
181 | |
82 | |
66 | |
47 | |
44 |