cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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. 

 

Count1.pngCount2.png

2 REPLIES 2
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,

Cherry

 

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.

 

 

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors