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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
souvik900766
Helper IV
Helper IV

Count issue

Hi !

Little Urgent Kindly help !
I am trying to count no of L (Leader) , C (Challenger), E (Explorer)which is an output of a if condition from a measure.
By combination of count will be Category X Country X Brand.
When I am selecting single category I am getting the correct count but with multi select it is showing wrong and with Select ALL it is showing blank. 
Refer the data in the drop box with pbix file:-
https://www.dropbox.com/sh/zwl481drh2zn7mz/AAA3FDfcBfw5aBGDNiULqm4ka?dl=0

Refer the pic:-
Coming Correct !

souvik900766_0-1621597759644.png

 


Coming Wrong !

souvik900766_1-1621597759629.png

 


Your help is appreciated !
Thanks in advance

souvik900766_2-1621597758833.png

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

what's your reasoning for this one?

Company Name = CALCULATE(FIRSTNONBLANK(MSR[company_nm],1),FILTER(ALL(MSR),'Brand name'[Brnd-nom]=MSR[Brnd-nom]))

Do company names really have to be calculated at data source refresh?

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

what's your reasoning for this one?

Company Name = CALCULATE(FIRSTNONBLANK(MSR[company_nm],1),FILTER(ALL(MSR),'Brand name'[Brnd-nom]=MSR[Brnd-nom]))

Do company names really have to be calculated at data source refresh?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.