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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply

Cross Count

Hi All,

 

Can some one help me to solve the below Problem. Not sure this can be done using BI. Guidance would be much appreciated.

Basically trying to See the Cross Account Count by SSL(Should not be counting the Duplicates)

From this eg. Where BTS(SSL) to PAS(SSL) is 1 Account(ABC) where as PAS(SSL)to BTS(SSL) is 2 Account(ABC & XYZ)

 

 

Cross selling.png

Sample data

 

Opp IDOpp NameSSLAccount NoAccountNameBuyingSellingTotal Deal Value
1983796MGSBTS1011471332ABCBuying                     100,000
2054157MNSPAS1011471332ABC Selling                       40,000
2095519MPSPAS1011471332ABCBuying                        20,000
1913522MNQBTS1011471332ABC Selling                       50,000
1913522MNQBTS1011471335XYZ Selling                       10,000
        
  BTSPAS    
 BTS 1    
 PAS2     
Basically trying to See the Cross Account Count by SSL(Should not be counting the Duplicates)     
From this eg. Where BTS(SSL) to PAS(SSL) is 1 Account(ABC) where as PAS to BTS is 2 Account(ABC & XYZ) 

 

 

 

2 REPLIES 2
Greg_Deckler
Super User
Super User

@RanjanThammaiah - Is there a reason for SSL to be in both rows and columns? I mean, it can be done with a disconnected table most likely but a simple table/matrix visual with SSL and the default distinct count of Account No provides the correct results.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler Thanks for the response, basically need to undersatnd the Cross metrix numbers.

I have many SSL Where in the above  Eg. BTS to PAS. The greyed out shound not have any counts(0).

It should go from Columns to Row(BTS to PAS, PAS to BTS).

 

Hope i haven't explained it well.,

 

Regards,

Ranjan

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

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.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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