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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.

Top Solution Authors