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

Count of a table values sum

Hi All

I am trying to get the count sum of the SSID to show up in the SSID Count. So for the second table below, for the month of Jan , I want the SSID Count to be = 2, Thanks for any help

 

bu965_0-1619311734907.png

 

1 ACCEPTED SOLUTION
v-jayw-msft
Community Support
Community Support

Hi @Anonymous ,

 

Try

Calculate(distinctcount('table'[ssid]),filter(all('table'),'table'[month]=selectedvalue('table'[month])))

If I misunderstand your meaning, please share some sample data.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Ashish

I was to figure it out

v-jayw-msft
Community Support
Community Support

Hi @Anonymous ,

 

Try

Calculate(distinctcount('table'[ssid]),filter(all('table'),'table'[month]=selectedvalue('table'[month])))

If I misunderstand your meaning, please share some sample data.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
Ashish_Mathur
Super User
Super User

Hi,

Some variant of this measure will help:

=countrows(filter(values(data[SSID]),[Values]>0))

Values is a measure which returns 1325 and 1400 in visual 1.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Thanks Ashish

I was trying to get the value 2 as a sum using the following measure but will not take.

 

CountSSID = countrows(filter(values('SQ Audit Test Data'[SSID]]),('SQ Audit Test Data'[SUPP_DISRUPTION]>1200)))

Hi,

Share the download link of your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.