cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Strongbuck
Helper I
Helper I

How do I return multiple values?

I have tried multiple ways to return multiple values using DAX without success.  These are the things I've tried SelectColumns, LookupValue and Filter. I do not get the correct results. 

 

The following are the table:

 

Issue NoDescriptionAssignee_TypeAssignee_ID
1Investigate rate hikesrole1234567890
2Enrollment quotes are downuser99993331
3Adopt DriveWise programcompany443264143
4Enrollment quotes are downuser99993332

 

User_IDFirst NameLast NameCompany_IDRole_ID
99993331TomJones1001234567890
99993332VincentPrice2001234567890
99993333JohnWalker 1122334455

 

Company_IDCompany_Name
443264141Allstate
443264142State Farm
443264143Progressive

 

Role_IDRole_Name
1234567890Insurance Agent
1234567891Insurance Broker
1122334455Administration Assistant

 

I want to report all of the Companies tied to the Issues.

 

Issue #1 should report Allstate and State Farm.

Issue # 2 should return only State Farm.

 

I've been able to use DAX to return one value but not two.  Can you please give me some guidance?  Thank you in advance.

2 REPLIES 2
ryan_mayu
Super User
Super User

@Strongbuck 

you can change the data structure,pls see the attachment below





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

Proud to be a Super User!




I am using my work computer.  I cannot download and open files from outside people.  If you have a question, I would be happy to give you more details.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors