Forum Discussion
Visual table duplicating values
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.
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.
3 Replies
- v-jianboli-msftCommunity Support
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.
- JuanBolasHelper II
Thank you v-jianboli-msft
- JuanBolasHelper II
v-jianboli-msft I see that the occupancy calculation is off...