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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ypatel
Regular Visitor

question on how to return multiple values based on a cell criteria

hello.  i am fairly new to Power BI and DAX.  i have searched and cannot figure out a solution to the data i need to pull. if i have a single table (there is no lookup to another table) as below:

DoYAdvertiserCampaign NameIMP GoalPotential Revenue($)
18Car Autocampaign 11897$131.46
18Car Autocampaign 21834$127.10
18Visit GAcampaign 14142$287.04
19Visit GAcampaign 14142$287.04
19local grocery storecampaign 31834$127.10
19Car Autocampaign 11897$131.46
20Car Autocampaign 14142$287.04
20Visit GAcampaign 21897$131.46
20local grocery storecampaign 31834$127.10

 

what i would like to do is get the last "DoY", in this case 20, return a table that shows "Advertiser", "IMP Goal" and "Potential Revenue" and display in my dashboard via a table or multi card.

 

the output would look something like the following:

AdvertiserIMP GoalPotential Revenue($)
Car Auto4142$287.04
Visit GA1897$131.46
local grocery store1834$127.10

 

greatly appreciate any help here.

thank you.

1 REPLY 1
Dangar332
Super User
Super User

HI, @ypatel 

look below image

Dangar332_0-1699286077794.png

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.