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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Uma_Dhandpani
Helper I
Helper I

Reg - To display only specified values against column

Hi, I want to display only the value against the PO where it should satisfy the condition that it contains only the status as "inactive" For Example, In Table 1,

                                                                                                                                         

image (1).pngimage.png

=====>> The Output required to be 

 

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

Hi @Uma_Dhandpani ,

 

We can create a measure and use it in visual filter to meet your requirement:

 

DoesThisPoAllInactive = IF(CALCULATE(COUNTROWS('Table'),FILTER(ALLSELECTED('Table'),'Table'[po number] in FILTERS('Table'[po number]) && 'Table'[status]="active"))=0,1,-1)

 

 12.jpg

 


Best regards,

 

Community Support Team _ Dong Li
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

6 REPLIES 6
v-lid-msft
Community Support
Community Support

Hi @Uma_Dhandpani ,

 

We can create a measure and use it in visual filter to meet your requirement:

 

DoesThisPoAllInactive = IF(CALCULATE(COUNTROWS('Table'),FILTER(ALLSELECTED('Table'),'Table'[po number] in FILTERS('Table'[po number]) && 'Table'[status]="active"))=0,1,-1)

 

 12.jpg

 


Best regards,

 

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

Still, I am having issue in getting Inactive count, the expression works out but it displays both active and inactive. I want only the inactive count to be display.      

Anonymous
Not applicable

Hi @Uma_Dhandpani ,

 

1. Click the table in your power bi desktop.

2. In the filter pane on the right side(if you don't expand it please click the filter pane to expand firstly), you will find the status column in it.

3. Choose the filter type = Basic filtering(default), Then check the "Inactive" box in it.

 

Please try.

Aiolos Zhao

Tahreem24
Super User
Super User

@Uma_Dhandpani ,

 

I am little confused based on your output. If you want to display data against only "Inactive" status so below highlighted records should also come. Right?

1.JPG

Based on my understanding if you wanna display records against "Inactive" status so just filter "Inactive" status in table visualization pane like below screen shot:

Capture.JPG

Please don't forget to hit THUMBS UP and Accept this as a solution if it helps you!

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Actually, I want to display value only for inactive (i.e) it should return value where PO  carries all inactive, not combination of active and inactive

@Uma_Dhandpani ,
So for that, just take table and enter all columns then go to Filter pane --> Go to Status column --> mark only Inactive value. (Refer below screen shot)

 

Capture.JPG

 

Please don't forget to hit THUMBS UP and Accept this as a solution if it helps you!

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors