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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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