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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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!:
The Definitive Guide to Power Query (M)

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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