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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anonymous ,

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.
Anonymous
Not applicable

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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