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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
jps_HHH
Helper I
Helper I

Merge count from two different tables

Hi all,

 

I have a PBI file connected to two different databases. 

However, this databases are similar columns but one database is filled in by mechanics and other by quality control.

 

For instance:

Database 1:  Columns "Part Number"  "Fail Description" 

Database 2:  Columns "Part Number"  "Fail Description"  

The information is not duplicated. IF a mechanic observes a fail, record it. But if a quality person observes a fail reported too.

 

I would like to put a graph with the "part Number" with more fails and a table with the Part number and the description.

 

I think that I should create a new column that includes all lines from database 1 and 2. Is that right ?  

1 REPLY 1
Deku
Solution Supplier
Solution Supplier

I would union the table. So you would have something like

  • PartNumber
  • FailureReportDate
  • FailureReportingSource
  • Description

Then can easily sum\count and slice by the identifier of the failure


If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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