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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
MP-iCONN
Resolver I
Resolver I

Distinct count from another non related table

I have two tables, one for quotes and one for orders.  Now the only relatable data I can think of is the Branch but just wondering if there is a way to get these two numbers possibly toghether, maybe in a new table if that is needed so I can get percentages of Quotes to Orders.  Thank you for any advice or help on this.

 

MPiCONN_0-1665667955435.png

 

 

 

1 ACCEPTED SOLUTION
Avantika-Thakur
Solution Supplier
Solution Supplier

Hi @MP-iCONN ,

 

You can try the below steps :

1) Create a common Lookup table for Branch with all the existing branches

2) Create a relationship of this Branch Lookup table with both Quotes and Orders table based on the Branch column/ Branch ID column if it exists as shown below :

AvantikaThakur_0-1665669966529.png

3) Then you can pull the Branch column from the Branch lookup into the Matrix grid and Quotes and orders column from their respective tables and can also build a measure for calculation percentage with these 2 columns

AvantikaThakur_1-1665670190857.png

 

Hope this helps!

 

Please accept the solution if this answers your query.

 

Thanks,

Avantika Thakur

 

View solution in original post

2 REPLIES 2
Avantika-Thakur
Solution Supplier
Solution Supplier

Hi @MP-iCONN ,

 

You can try the below steps :

1) Create a common Lookup table for Branch with all the existing branches

2) Create a relationship of this Branch Lookup table with both Quotes and Orders table based on the Branch column/ Branch ID column if it exists as shown below :

AvantikaThakur_0-1665669966529.png

3) Then you can pull the Branch column from the Branch lookup into the Matrix grid and Quotes and orders column from their respective tables and can also build a measure for calculation percentage with these 2 columns

AvantikaThakur_1-1665670190857.png

 

Hope this helps!

 

Please accept the solution if this answers your query.

 

Thanks,

Avantika Thakur

 

Thank you.  This worked perfect!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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