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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
Anonymous
Not applicable

Flitering

Hi 

 

Is it possible to write a measure that will return the a list of the highlighted item? 

 

Jlivenere-25_0-1619550215245.png

 

 

1 ACCEPTED SOLUTION

Hi, @Anonymous 

 

It may not be easy to get the desired result using the average function, but other functions can be used to achieve the purpose, such as 

average =DIVIDE ( SUM ( 'table'[Score] ), 9 )

OR:  average =DIVIDE ( SUM ( 'table'[Score] ), COUNTROWS ( 'table' ) + 1 ).

 

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

Best Regards,
Community Support Team _ Zeon Zheng
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

7 REPLIES 7
v-angzheng-msft
Community Support
Community Support

 Hi, @Anonymous 

 

Try to create a calculate column like below:

Return =
IF (
    'Table'[name]
        IN {
        { "Sewing1" },
        { "Sewing3" },
        { "Receiving" },
        { "Quilting" },
        { "Matt Build" }
    },
    'Table'[name],
    BLANK ()
)

Note that to replace the text above with your actual text

I created a simple sample to illustrate this.

Sample:

v-angzheng-msft_0-1619756056397.jpeg

Use the slicer to filter out null values.

Result:

v-angzheng-msft_1-1619756056398.jpeg

v-angzheng-msft_2-1619756056399.jpeg

Please refer to the attachment below for details

 

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

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

Anonymous
Not applicable

I want to know if its possible to overwrite the denominator when using average in Power BI. what I mean is in the table listed below I want the average of the 8 process but I want to divide by 9 instead of 8. is that possible

 

Jlivenere-25_0-1620225475808.png

 

Hi, @Anonymous 

 

It may not be easy to get the desired result using the average function, but other functions can be used to achieve the purpose, such as 

average =DIVIDE ( SUM ( 'table'[Score] ), 9 )

OR:  average =DIVIDE ( SUM ( 'table'[Score] ), COUNTROWS ( 'table' ) + 1 ).

 

 

Is this the result you want? Hope this is useful to you

Please feel free to let me know If you have further questions

 

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

Anonymous
Not applicable

HI 

 

I tried both and they didnt work.

 

thanks 

John

amitchandak
Super User
Super User

@Anonymous , You can create a measure like

Countrows(filter(Table, Table[Name] in {"Process Audit Sweing 2", "Process Audit Loading & Swing" , "rocess Audit Foundation", "rocess Audit Unit Building"))

 

You can plot this with name in visual, if needed

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

This is what I got, I wanted to have seleted items in list, if I were to put them in a table.

 

 

Jlivenere-25_0-1619613896376.png

 

Anonymous
Not applicable

I got this 

 

Jlivenere-25_0-1619613504448.png

 

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors