Showing results for 
Search instead for 
Did you mean: 
RizzLearn Frequent Visitor
Frequent Visitor

Conditional Count and Group

Hi All, 

I would be really grateful if the gurus can help me with some DAX. I am pretty new to DAX.

So, I have created conditional measures based on Count: AESGroup1, AESGroup2 etc.

I am in need of Group them by total of the counts. i.e Total count of AESGroup1, AESGroup2  by GroupName .

Example, Sytner Group :  AESGroup1  AESGroup2 etc

                             Total:     20                  32


Many thanks in advance. 



Community Support Team
Community Support Team

Re: Conditional Count and Group

Hi @RizzLearn ,

I still have a little confused about your scenario.

It seems that you have two measures for AESGroup1, AESGroup2, do you want to group the two measures?

Or do you want to group the total counts ?

If it is convenient, could you share some data sample and your desired output so that we could help further on it?

Best Regards,



Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
RizzLearn Frequent Visitor
Frequent Visitor

Re: Conditional Count and Group

Hi Cherry Gao,

Thanks a million for looking into this. Please find a dataset here

What we like to achieve are:

1. Count of Quote_id by Group by SuperUser/Super parentID by AES OR ECOS. 

i.e for SuperUSerID 1302 / Paul Marjoram has  10 Quotes For ECOS and he is part of Chapmobile.

2.  Then Group them by total. Example In Chapmobile Group. 1 User have 10 Quotation for AES

I have tried to explain it here

3. Also is it possible to show how many SuperUsers have an entry on BOTH AES and ECOS.

i.e SuperParentid 12783/ PIERS CAPLETON has an entry on BOTH AES AND ECOS

I really need help on this. Many thanks in advance and if you need any further info just let me know.