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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
jerryr125
Helper I
Helper I

Power BI Table visualization - issue with filtering with data from two different tables

Hi - I have a question about the table visualization.

Data Model

 

Data Model Table1

LocationAcounter
10010
20015
30020

 

Data Model Table2

LocationBcounterFlag
100125Y
200245N
300375Y
400450Y

 

 

Power BI Table Visualization - Desired Result

LocationAcounterBcounter
10010125
20015 
30020375
400 450

 

If I add a Filter to the visualization above in which the "Flag" field = "Y", I still like to display the location "200" even though the Flag field = "N"  and the Acounter field has a value. 

 

RIght now it is not displaying the Acounter correctly since I added the filter to the table visualization in which the Flag field = "Y".

 

How can I accomplish this ? 

Thanks - Jerry

 

 

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Create a proper dimension table for Location. Add all four locations.

lbendlin_0-1723249544061.png

 

Create your data model.

 

lbendlin_1-1723249607992.png

 

 

  Then use that dimension column as the first column in the visual, and add the A and B values. Then apply the B filter.

lbendlin_3-1723249724030.png

 

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

Create a proper dimension table for Location. Add all four locations.

lbendlin_0-1723249544061.png

 

Create your data model.

 

lbendlin_1-1723249607992.png

 

 

  Then use that dimension column as the first column in the visual, and add the A and B values. Then apply the B filter.

lbendlin_3-1723249724030.png

 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.