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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How to display a specific value (DAX) - Beginner

Hello, 

 

I am new to Power BI and I have been trying to find a formula to enter in a measure to display a specific value.

I have a table that goes like this : 

 

YearProduct AProduct B
2020110
202137
2022511

 

And I would like a measure that would only display the Value for the Product A in 2020 so that I can use this value for a KPI (target goal).

 

Thank you for your help 🙂

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

You can create a measure like

Prod A 2020 = LOOKUPVALUE( 'Table'[Product A], 'Table'[Year], 2020)

View solution in original post

1 REPLY 1
johnt75
Super User
Super User

You can create a measure like

Prod A 2020 = LOOKUPVALUE( 'Table'[Product A], 'Table'[Year], 2020)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.