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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.