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

Conditional Measure Returning List of Values

I need to make a conditional measure that returns a list of values to be put in a matrix. I have an API with article data and i need to pull in articles based on whether or not a cost goes over budget.

 

I was thinking something along the logic of:

 

IF ([cost] > 500, (return list of article names), (else blank))

 

but seeing as IF() will only return a single value, this measure does not work.

 

Does anyone have any suggestions/ideas as to how to create this conditional measure?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ematheny ,

Measures cannot return a list of values. It can return the following results.

Measure = IF(MAX('Table'[cost] )> 500,MAX('Table'[article names]),BLANK())

 

vpollymsft_0-1630897616550.png

vpollymsft_1-1630897624826.png

 

If this isn't what you want, please show me the results you expect.

Best Regards,
Community Support Team _ Polly

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

2 REPLIES 2
Anonymous
Not applicable

Hi @ematheny ,

Measures cannot return a list of values. It can return the following results.

Measure = IF(MAX('Table'[cost] )> 500,MAX('Table'[article names]),BLANK())

 

vpollymsft_0-1630897616550.png

vpollymsft_1-1630897624826.png

 

If this isn't what you want, please show me the results you expect.

Best Regards,
Community Support Team _ Polly

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

MFelix
Super User
Super User

Hi @ematheny ,

 

Measures cannot return more than one value has a result you cannot return a list of values to the final result of your measure.

 

What is the purpose of this list and what do you want to see?

 

Can you please share a mockup data or sample of your PBIX file and expected result. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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