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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Is it possible to merge two different table visuals with a common column?

Hi, I have two tables each having two columns. One of them being facility which is common to both. The other one is # of entries and # of exits. I am trying to merge this into a single table. 

Facility# of entries
  
  
  
  
Facility# of exits
  
  
  
  

The # of entries and exits are values from the same column with different filters and aggregation types. Please help. I need the resulting table to look like this.

Facility# of entries# of exits
   
   
   

 

 

1 ACCEPTED SOLUTION

You Measure are coming from the same column with filter, are you using the visual level filter to display those. If yes then use measure filter

 

example

# count = calculate(count(table[Col1]),table[Col2] ="ABC")

# count = calculate(count(table[Col1]),table[Col2] ="DEF")

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

Create a common Facility dimension table and join with both of them.

Facility Dim = distinct(union(all(table1[Facility]),all(table2[Facility])))

 

Then use common dimesnion to get desired results.

 

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @

Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin

Anonymous
Not applicable

@amitchandak  Thank you for the reply. I am trying to merge table VISUALS and not actual tables. If I am creating a new table, where would I do it, I am pulling data from SQL server. Kindly answer in detail if possible as I am a beginner here. 

You Measure are coming from the same column with filter, are you using the visual level filter to display those. If yes then use measure filter

 

example

# count = calculate(count(table[Col1]),table[Col2] ="ABC")

# count = calculate(count(table[Col1]),table[Col2] ="DEF")

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.