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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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