Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
JuanBolas
Helper II
Helper II

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.

 

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @JuanBolas ,

 

Please add the Filter 'For Occupany‘[Route] is PJL -PBA (or 'For Occupany‘[Route] is PBA-PJL) to the two tables:

vjianbolimsft_0-1667353079689.png

Final output:

vjianbolimsft_1-1667353096936.png

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.

View solution in original post

3 REPLIES 3
JuanBolas
Helper II
Helper II

@v-jianboli-msft I see that the occupancy calculation is off...

JuanBolas
Helper II
Helper II

Thank you @v-jianboli-msft 

 
v-jianboli-msft
Community Support
Community Support

Hi @JuanBolas ,

 

Please add the Filter 'For Occupany‘[Route] is PJL -PBA (or 'For Occupany‘[Route] is PBA-PJL) to the two tables:

vjianbolimsft_0-1667353079689.png

Final output:

vjianbolimsft_1-1667353096936.png

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.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors