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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.