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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Adding user selectable status category , and calculating count based on selection

How to do I modify this on the this visual to add a user selectable status category , and calculating count based on selection 

 

here StatusCount = CALCULATE(
COUNTA('DC8-TenantsNotLogedIn'[Status])
)

dcr007_0-1638473591115.png

 

I want to : 

1. remove the remove the status count col 

2. move the Total count below the status count. 

3. Add a user selctable filter option in the menu to choose a array of 'status'

4. Update the status count based on selection made.

 

Appreciate if you could also point to any documentation on the same .

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

Hi, @Anonymous ;

You could use ISINSCOPE(), as follows:

StatusCount = IF(ISINSCOPE('Table'[User]),MAX('Table'[Staus]),COUNT('Table'[Staus]))

The final output is shown below:

vyalanwumsft_0-1638756860229.pngvyalanwumsft_1-1638756878089.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could use ISINSCOPE(), as follows:

StatusCount = IF(ISINSCOPE('Table'[User]),MAX('Table'[Staus]),COUNT('Table'[Staus]))

The final output is shown below:

vyalanwumsft_0-1638756860229.pngvyalanwumsft_1-1638756878089.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors