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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 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.