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
dcr007
Frequent Visitor

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, @dcr007 ;

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, @dcr007 ;

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
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.