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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
BillWalker
Regular Visitor

Help producing a single value from a calculated column

Hello PowerBI People!

 

I'm running into what I think should be straightforward, but I've been struggling with it for over a week and thouhgt I would turn to the experts. Now, this works in a simple single table .pbix, I think the issue is when I get into a situation where I have multiple tables and relationships defined. I'm trying to take the results of a calculated column and place that into a card. I think what I'm running into is a context problem, but I can't figure out how to solve for it.

 

Is there a DAX expression I can write (or copy) that will take the selection from a slicer and use that as the row context and then return me a specific value from that row?

 

Here is my source table:

BillWalker_0-1665692523615.png

If a user selects ACME, I want a card that shows "Yes" and if a user selects Inc Inc, I want a card that shows "No. Again, this works with a simple single table, how can I provide correct row/table context in a DAX expression where multiple tables and relationships exist?

1 REPLY 1
vanessafvg
Super User
Super User

you would need to share your model to understand where there problem lies.   It all depends on how your model is hooked up to as why you not getting what you want.   What is the problem you are experiencing, you have not mentioned the problem or what result you are getting vs also providing what you are expecting to get.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors