Forum Discussion

souvik900766's avatar
souvik900766
Helper IV
5 years ago
Solved

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 !

 


Coming Wrong !

 


Your help is appreciated !
Thanks in advance

  • 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?

1 Reply

  • 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?